bug-parted
[Top][All Lists]
Advanced

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

Re: mklabel wiped my partition table (hint: mklabel is not MSDOS label)


From: Rico
Subject: Re: mklabel wiped my partition table (hint: mklabel is not MSDOS label)
Date: Mon, 17 Jan 2005 10:34:53 -0800 (PST)

I think fdisk does a good job of having a 'w' command to commit the changes.

>From my experience: nothing hints to the user that s/he needs
to print the partition table after every operation. The monitor is big enough
to take quite a few commands before the display starts scrolling up and it's
all too easy, after having printed the partition table once, to be lured into
thinking that e.g minor numbers of partitions are still the same after 'rm'.

Prevention being better than cure, I like 'confirm commit' better than 'undo'.

Best regards,
J-Philippe.

--- Sven Luther <address@hidden> wrote:

> On Mon, Jan 17, 2005 at 10:31:28AM +0200,
> address@hidden wrote:
> > I somehow managed to run mklabel, confusing it with MSDOS label. Now my
> > partition table is gone. I haven't rebooted yet and my system is still
> > running, so perhaps not all is lost. You can find more details about my
> > misfortune here:
> >
>
http://episteme.arstechnica.com/eve/ubb.x?a=tpc&s=50009562&f=96509133&m=743006888631
> > 
> > There are at least two previous similar cases reported on this list and
> > quite a few others on the web. This command really has to be renamed and
> > its description should be rephrased. 
> > 
> > mklabel LABEL-TYPE            create a new disklabel (partition table)
> > should be:
> > mktable LABEL-TYPE            create a new partition table
> > 
> > It would also be nice to offer a way to undo this command afterwards
> > (i.e. to restore the active/booted partition table from backup). This
> > brings us back to my case. Which of the following partition rescue
> > tools/methods would you recommend?
> > 
> > TestDisk - http://www.cgsecurity.org/index.html?testdisk.html
> > Gpart - http://www.stud.uni-hannover.de/user/76201/gpart/
> > Restoring /boot/boot.0300 -
> >
>
http://www.linuxquestions.org/questions/showthread.php?postid=1355494#post1355494
> > 
> > Thanks for reading and thanks in advance for helping me out of this
> > mess,
> 
> If you had the exact data of your previous partition table, you could easily
> recreate one and fix it. And i believe that an undo command would be nice, or
> simpler yet a save/restore partition table support in parted.
> 
> Maybe you can get info on your old partition table from /proc/partitions ? 
> 
> Friendly,
> 
> Sven Luther
> 
> 
> 
> _______________________________________________
> Bug-parted mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-parted
> 



                
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]