[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [**solved by a reboot**] moving (and losing?) partitions with cfdisk



Levi Waldron wrote:
So I got up this morning (on the west coast, as you hoped), booted up
into knoppix again, and started backing up my MBR and first sector of
each partition.  Then I noticed an icon on the knoppix desktop listing
hda7 as a mountable partition, so I thought I'd try it again.  Exactly
the same way as last night,

sudo mount /dev/hda7 /mnt

but it mounted!!!  No errors.  So I immediately backed up off-site

Oh, frabjous day! Calloo! Callay!

I'm happy for you. Also explains why I couldn't find anything wrong
with your new setup.

I also passed this along to the Fedora Core list where I am
(some think way too) active, so you may be getting some
messages from some over there.

everything I might possibly need, including the MBR and first sectors
of each partition.  Then rebooted without knoppix, making no changes,
and success!  I even have the two new partitions I wanted.

I remember now that cfdisk warns you that you may need to reboot in
order to read the new partition table properly, but it just didn't
occur to me this time.  I'm sure glad I didn't start deleting and
re-creating the partition table.

Worked out for the best, even better than one would hope.

Several lessons learned, a _relatively_ easy way:

1.  backups don't count unless you have them on hand

Apropos of this: they also don't count if they don't survive
the disaster that destroyed the original. Keep a copy of your
critical backups off-site, at least a few miles away. Then if your
house burns down or Hurricane Katrina floods your house,
you still have your data.

2.  in addition to data, back up the MBR and first sector of each
partition before messing with the partition table:
dd if=/dev/hda of=hda.mbr bs=512 count=1
dd if=/dev/hdax of=hdax.mbr bs=512 count=1

3.  after changing your partition table, you really do have to reboot
- at least this is my best guess as to what the problem was.

Thank you for all your efforts Mike!  I'll return the favour to
someone if I can't to you :)

That's been called "pay forward" by, IIRC, Heinlein.

Next time I go off on an OT rant here, and get into trouble,
with people calling me a flamer and requesting I be booted
off the list, you jump in and say "Hey, wait a minute! He's
really a nice guy! Sometimes, anyway!"

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!



Reply to: