Re: label editing

From: Erik Udo (erik.u_at_dnainternet.net)
Date: 10/23/04

  • Next message: Walter Belgers: "bootable install CD - relocate to subdir"
    Date: Sat, 23 Oct 2004 11:48:08 +0300
    To: freebsd-hackers@freebsd.org
    
    

    I'm so ashamd for sending the answer right after the question:
    So i found T(Toggle Newfs) option in sysinstall's label editor,
    and made that one partition i had in it. Then the label editor
    used fsck_ffs to recover it. I JUST LOVE FREEBSD!!
    Just when i thought all my data was lost!
    Well, atleast someone having the same problem might find my
    posts..

    Erik Udo wrote:

    > So i got my partition back, and succesfully mounted it. All
    > the old data was there. Now i just need my old slice on that
    > partition back.
    >
    > Here's what happend in chronological order of what i did:
    > - I boot 4.4 installdisk to fix mbr
    > - I set ad0s1 as bootable, and write changes
    > - Then i boot to HD installation of FreeBSD 5.3RC1
    > - And then i notice, my 150GB partition is gone, it's now
    > 100GB 4.2BSD and 50GB unused
    > - I delete 100GB partition, and merge 100GB and 50GB into
    > one partition, and save changes.
    > -I run gpart and scan_ffs unsuccesfully
    > -Then i figured i can mount /dev/ad0s3, and that i didn't need labels.
    > -And now i'm messing with disklabel -e to recover my old partition.
    >
    > Now remember i only did one slice on that partition some
    > time ago using sysinstall. It was ad0s3d.
    >
    > Here's what bsdlabel -e /dev/ad0s3 gives me:
    >
    > # /dev/ad0s3:
    > 8 partitions:
    > # size offset fstype [fsize bsize bps/cpg]
    > a: 398297072 16 unused 0 0
    > c: 335389005 0 unused 0 0 # "raw" part,
    > don't edit
    >
    > Then i try to save it, with no modifications, i get:
    >
    > /tmp/EdDk.tiDLEmTpvt: 5 lines, 223 characters.
    > partition a: partition extends past end of unit
    > re-edit the label? [y]:
    >
    >
    > So i'm asking for correct changes i could try to recover my
    > lost slice.
    > _______________________________________________
    > freebsd-hackers@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    > To unsubscribe, send any mail to
    > "freebsd-hackers-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: Walter Belgers: "bootable install CD - relocate to subdir"

    Relevant Pages

    • Re: Invalid Partition - help on setting up loader
      ... > This is my first post on a Freebsd Mailing List, ... > alongside my 4-stable slice. ... The FreeBSD boot process wants to use "a" partition ... To unsubscribe, ...
      (freebsd-questions)
    • Re: Ghost for FreeBSD
      ... locally other then the FreeBSD machine itself. ... You may use /stand/sysinstall to partition and label a new disk using ... Once inside fdisk, we can type A to use the entire disk for FreeBSD. ... enter the Disk Label Editor. ...
      (freebsd-questions)
    • inodes and dedicated disk
      ... Everytime I try and add an e partition it tells me: ... My edit table looks like: ... partition using the label editor but I can't get this partition to mount. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: I dont see anything to answer my q
      ... The ones that come with FreeBSD will handle fat and fat32 ... successfully a number of times is Partition Magic. ... What the BSD UNIX world calls a disk slice, ... clear while using the terms slice and primary partition. ...
      (freebsd-questions)
    • Re: Downloads
      ... There was one unused partition. ... (used unconsistently with the rest of FreeBSD). ... division of the disk is called a slice. ...
      (freebsd-questions)