LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't be booted after spliting a partition into 2 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-be-booted-after-spliting-a-partition-into-2-a-489524/)

wlaw 10-04-2006 07:08 PM

Can't be booted after spliting a partition into 2
 
At first, I have WinXP and Fedora Linux installed , Grub as the bootloader. It's perfectly fine until last night, I split one of the NTFS partition into 2. After that, it didn't boot.

THe PC stops at

Code:

Grub>
How couldI rescue it ??

I am a newbie , please in detail.

Below is the information of my PC


LVM Volume Groups
Vol Group00
LogVol01 Swap
LogVol00 ext3
Hard drives
/dev/hdc
/dev/hdc1 ntfs
/dev/hdc 2 extended
/dev/hdc5 ntfs
/dev/hdc6 ntfs
/dev/hdc7 ntfs
/dev/hdc8 ntfs
/dev/hdc9 vfat
/dev/hdc10 ext3
/dev/hdc11 VolGroup00 LVM PV

AwesomeMachine 10-04-2006 07:31 PM

Boot from:

http://www.efense.com/helix

live CD. Run a terminal and do:

fdisk -l

Try to figure out how your partitions got rearranged, and identify the boot partitions for Fedora and XP. You can tell that by the size they are. Edit /etc/fstab file in the helix distro:

vi /etc/fstab

Hit the INSERT key once in vi.

On the disk partition where your fedora root is, take the ro and change it to rw. Hit the ESC key and type :x ENTER to save /etc/fstab. Mount the root partition for linux with:

mount /media/sda1

and substitute the correct partition where sda1 is in that command. Helix will make mount points for all the partitions it finds. Once you mount the proper partition do:

cd /media/sda1/boot/grub
vi menu.lst

Change the entries

root(hd0,0)

or similar looking lines to reflect the proper partition for the operating system that line is specifying to boot. (hd0,0) means, in hurd notation, hard drive 1 partition 1. But, hard drive and partition numbers start at 0 not 1. When you split the partition it changed how many partitions you have, and screwed all the root partition info in grub. So, now grub can't find anything.

wlaw 10-04-2006 08:31 PM

Quote:

Originally Posted by AwesomeMachine
Boot from:

http://www.efense.com/helix

live CD. Run a terminal and do:

fdisk -l

Try to figure out how your partitions got rearranged,

I believe my partition is rearranged as follows

LVM Volume Groups
Vol Group00
LogVol01 Swap
LogVol00 ext3
Hard drives
/dev/hdc
/dev/hdc1 ntfs
/dev/hdc 2 extended
/dev/hdc5 ntfs
/dev/hdc6 ntfs
/dev/hdc7 ntfs
/dev/hdc8 ntfs
/dev/hdc9 vfat
/dev/hdc10 ext3
/dev/hdc11 VolGroup00 LVM PV



Also, can I run Fedora installation Disk and run Rescue mode to do the above procedures ?

Quote:

On the disk partition where your fedora root is, take the ro and change it to rw.
How to take ro and change it to rw ??

Thank you for your kind attention.


All times are GMT -5. The time now is 03:47 AM.