LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-04-2006, 07:08 PM   #1
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 245

Rep: Reputation: 30
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
 
Old 10-04-2006, 07:31 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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.
 
Old 10-04-2006, 08:31 PM   #3
wlaw
Member
 
Registered: Jun 2004
Location: HK
Distribution: Ubuntu
Posts: 245

Original Poster
Rep: Reputation: 30
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.
 
  


Reply

Tags
wlaw



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spliting files th3gh05t Linux - Newbie 11 09-15-2006 04:46 AM
booted from CD, cant mount root partition frankie_DJ Linux - Newbie 1 08-26-2006 07:29 PM
Script Question: Spliting A File tonyfreeman Programming 6 03-04-2006 03:35 AM
problem in viewing files in windows partition when booted on redhatlinux 9 gssnathan Red Hat 1 07-24-2004 07:25 AM
spliting a simple string kubicon Linux - General 2 02-27-2004 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration