Re: [novice] I wrecked my partition table.
- From: Jean-David Beyer <jeandavid8@xxxxxxxxxxx>
- Date: Sat, 15 Mar 2008 19:49:54 GMT
gruebait wrote:
Greetings.First of all, do not do anything until there is no time pressure at work.
I have a Dell Inspiron 1501 (Turion64, 60 GB HD, 1GB RAM).
My data is backed up.
After updating the BIOS I tried to re-install Ubuntu 7.10
(AMD 64), thinking it might help with some issues I'd had with
it. Bad Idea. When the Live CD installer got to the
partitioning step, I screwed up badly.
partition table (Original Ubuntu 7.10 'guided' installation):
size used flag
---- ---- -----
/dev/sda1 fat16 70.57MB 8.03MB
/dev/sda2 ntfs 23.29GB 10.87GB
/dev/sda4 extended 29.17GB --- boot
/dev/sda5 ext3 25.72GB 2.50GB
/dev/sda7 ext3 2.04GB 2.04GB boot
/dev/sda8 linux-swap 164.70MB ---
/dev/sda6 linux-swap 1.25GB ---
/dev/sda3 fat32 7.84MB
After screwing it up: (gparted on Live CD)
size used flag
---- ---- -----
/dev/sda1 fat16 70.57MB 8.03MB
/dev/sda2 ntfs 23.29GB 10.88GB boot
/dev/sda4 extended 29.17GB ---
/dev/sda5 ext3 25.56GB 2.50GB
--unallocated ---- 23.17GB
/dev/sda7 ext3 2.04GB 2.04GB
/dev/sda8 linux-swap 164.70MB ---
/dev/sda6 linux-swap 1.25GB ---
/dev/sda3 fat32 3.36MB 2.80GB
--unallocated ---- 7.84MB
Grub still works, and XP seems OK.
Having done enough damage, I am just thankful the XP
installation is okay (I need it as-is for work).
I want to reinstall Ubuntu using the ~1/2 of the drive it
was on.
I really, really don't want to screw up XP. Could some
kind soul walk me through the (baby) steps to fix this? I'm
assuming gparted is sufficient for the task, but I don't trust
me at this point :(
Say next weekend.
If XP is ok, first thing I would do would be to make a complete backup of it
(not on /dev/sda anywhere), and verify that the backup is ok. Since I use
tape for backups, I would advise making two or three of them, and verify each.
(BTW: why two swap partitions on one hard drive? If you need more than one,
each should be on a separate hard drive.)
I would then reinstall Ubuntu. Run the install in a mode where you can make
a new partition table and tell it to leave your /dev/sda1, /dev/sda2, and
/dev/sda3 alone. I use /sbin/fdisk for this because I am familiar with it.
Whatever you use, be sure you understand it.
My /sbin/fdisk says this for my first hard drive, that has most of Linux on
it. You should not need as many partitions for Linux as I have. I do not
know why your tool (whatever it is) puts things out in such a screwball
order, nor do I understand why the /dev/sda4 partition is listed as smaller
than its contents.
Command (m for help): p
Disk /dev/sda: 73.5 GB, 73557090304 bytes
255 heads, 63 sectors/track, 8942 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 2102 16779892+ 83 Linux
/dev/sda3 2103 2624 4192965 83 Linux
/dev/sda4 2625 8942 50749335 5 Extended
/dev/sda5 2625 4191 12586896 83 Linux
/dev/sda6 4192 5235 8385898+ 83 Linux
/dev/sda7 5236 5757 4192933+ 83 Linux
/dev/sda8 5758 6279 4192933+ 83 Linux
/dev/sda9 6280 6534 2048256 82 Linux swap / Solaris
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ PGP-Key: 9A2FC99A Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 15:30:01 up 4 days, 21:34, 2 users, load average: 4.11, 4.16, 4.11
.
- Follow-Ups:
- Re: [novice] I wrecked my partition table.
- From: Unruh
- Re: [novice] I wrecked my partition table.
- References:
- [novice] I wrecked my partition table.
- From: gruebait
- [novice] I wrecked my partition table.
- Prev by Date: Re: DSL-N Ignorant novice needs help configuring wi-fi
- Next by Date: Re: [novice] I wrecked my partition table.
- Previous by thread: [novice] I wrecked my partition table.
- Next by thread: Re: [novice] I wrecked my partition table.
- Index(es):
Relevant Pages
|