Re: HELP! did something incredably stupid
Hi, On Tue, 18 Dec 2001, dman wrote: > On Tue, Dec 18, 2001 at 08:16:21PM +0100, Sebastiaan wrote: > | Hello, > | > | Is there a way to retreive information about the size of an ext2 > | partition? > | > | Can anybody help me out? > > Hopefully you haven't done anything with your system that might write > to the disk. Get the 'gpart' utility and stick it on a floppy, boot > with the rescue (install) disk and run it. It worked wonders for me. > Fortunately for you you didn't have any data partitions beyond the > first partition! (I had / then swap then /home). Then you can use > (c)fdisk from the install disk to recreate your partition table. Then > (once you've rebooted) print out that table! > Thanks! Works amazingly well. Sebastiaan
Re: HELP! did something incredably stupid
> Hello, > > Is there a way to retreive information about the size of an ext2 > partition? > > I filled the first 1024 bytes of my harddisk with zeros, because LILO did > not want to downgrade. I realised too late that this would wipe out my > partition table as well. I have been able to recreate a new partition > table with only one partition and luckily my systems boots. Problem is > that I had two partitions: first my ext2 and at the end a swap partition. > I do not know where my (original) first partition ended. > > Can anybody help me out? > The Linux partition mini HOWTO has a section about `Recovering a Deleted Partition Table'. The Partition-Rescue mini HOWTO seems relevant as well, at least by its name. As far as I remember, at least the former address your case. > Thanks in advance, > Sebastiaan > > > > -- > NT is the OS of the future. The main engine is the 16-bit Subsystem > (also called MS-DOS Subsystem). Above that, there is the windoze 95/98 > 16-bit Subsystem. Anyone can see that 16+16=32, so windoze NT is a > *real* 32-bit system. > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Shaul Karl email: shaulka(at-no-spam)bezeqint.net Please replace (at-no-spam) with an at - @ - character. (at-no-spam) is meant for unsolicitate mail senders only.
Re: HELP! did something incredably stupid
On Tue, Dec 18, 2001 at 08:16:21PM +0100, Sebastiaan wrote: | Hello, | | Is there a way to retreive information about the size of an ext2 | partition? | | I filled the first 1024 bytes of my harddisk with zeros, because LILO did | not want to downgrade. I realised too late that this would wipe out my | partition table as well. I have been able to recreate a new partition | table with only one partition and luckily my systems boots. Problem is | that I had two partitions: first my ext2 and at the end a swap partition. | I do not know where my (original) first partition ended. | | Can anybody help me out? Hopefully you haven't done anything with your system that might write to the disk. Get the 'gpart' utility and stick it on a floppy, boot with the rescue (install) disk and run it. It worked wonders for me. Fortunately for you you didn't have any data partitions beyond the first partition! (I had / then swap then /home). Then you can use (c)fdisk from the install disk to recreate your partition table. Then (once you've rebooted) print out that table! web site : http://www.stud.uni-hannover.de/user/76201/gpart/ statically linked binary (no libc dependency!), stick this on the floppy : http://www.stud.uni-hannover.de/user/76201/gpart/gpart.linux -D -- He who walks with the wise grows wise, but a companion of fools suffers harm. Proverbs 13:20