Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-21-2005, 08:52 AM   #1
LQ Newbie
Registered: Nov 2005
Location: New York
Distribution: SUSE 10
Posts: 10

Rep: Reputation: 0
Question Linux won't start after modifying partition


I had a working installation of SUSE Linux 10.0 on my system. The drive has XP, the linux root, swap, and a data partition. I wanted to delete the data partition (because it's ntfs) and create a linux native type of partition. the SUSE YAST tool would not let me do it. So I went to Partition Magic and did it there.

Now when I start up it says, "GRUB Loading" and then "Error 17." Maybe there is a problem with grub.. So I go into Knoppix, chroot to my linux root, and run "grub-install /dev/hdc" (grub was installed to mbr) and it tells me:

The file /boot/grub/stage1 not read correctly.

Any ideas?
Old 11-21-2005, 10:46 AM   #2
Registered: Oct 2005
Location: Canada
Distribution: Mandriva 2006.0
Posts: 390

Rep: Reputation: 30
Your partition table was modified by PM. grub is looking for linux root on a certain partition, but it's not there anymore because your partitions were re-numbered by PM. You have to go into your grub configuration files and re-adjust the partition numbers. This can be done by running fdisk and copying down the partition table, and then changing where they are referenced in the grub config file. Although this is a little in-depth for a newbie, I would suggest re-installing SUSE, without formatting your home partition, or if you didn't have a home partition, I would highly recommend you make one so that you don't have to erase your GUI configuration whenever you re-install.
Old 11-21-2005, 11:03 AM   #3
LQ Newbie
Registered: Nov 2005
Location: New York
Distribution: SUSE 10
Posts: 10

Original Poster
Rep: Reputation: 0
So all I need to do is change the #5 in my grub.conf (below)?

setup --stage2 =/boot/grub/stage2 (hd1,5) (hd1,5)
setup --stage2 =/boot/grub/stage2 (hd0) (hd1,5)

I'm not sure this is the case, because in Knoppix I am accessing my linux root as hdc5.

In my fdisk list, I see the new data partition is hdc3. The partition is at the end of the drive, but it takes a # in the middle. Does that matter?

Last edited by rufus1; 11-21-2005 at 11:58 AM.
Old 11-21-2005, 01:21 PM   #4
LQ Newbie
Registered: Nov 2005
Location: New York
Distribution: SUSE 10
Posts: 10

Original Poster
Rep: Reputation: 0
Actually, this is a good time to wipe the drive and reinstall. I need to redo my partitions anyway.

Thanks for your reply.
Old 11-28-2005, 04:54 PM   #5
Registered: Aug 2005
Distribution: SuSE 10
Posts: 72

Rep: Reputation: 15
i boot with my suse cd 1, i enter to the rescue..and there i trie this:

grub-install /dev/hdc
and i have this error:
Probing devices to guess Bios driuver. This may take a long time.
/dev/hdc does not have any corresponding bios driver

what can i do ???????


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
modifying a linux database. alejan74 Linux - General 5 02-15-2005 04:19 PM
modifying linux core spyghost Linux - Software 3 12-03-2004 10:53 AM
Can you install linux to a partition that start after the 1024th Cylinder BlankFrank Fedora 13 02-13-2004 05:40 PM
how to start linux after deleting boot partition phikapjames Linux - Software 1 07-17-2003 03:48 AM
Modifying files in Linux partition from Windows yrraja Linux - General 6 05-09-2003 06:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:34 PM.

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