Computing.Net > Forums > Linux > grub in root partition

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

grub in root partition

Reply to Message Icon

Name: r28271
Date: February 27, 2007 at 21:43:29 Pacific
OS: Windows XP
CPU/Ram: Pentium 4 / 256 MB SDRAM
Comment:

i installed knoppix 5.0.1 onto my hard disk with the aid of the live CD. also, i installed the grub boot loader in the master boot record. but, now i want to have the grub boot loader in the root partition.

how can i do this without reinstalling knoppix? are there any commands that can do the job from the shell console?



Sponsored Link
Ads by Google

Response Number 1
Name: dahlin
Date: February 28, 2007 at 08:32:13 Pacific
Reply:

* Read Entirelly before Using

1. Boot from Ubuntu Live CD

2. Open a Terminal. Go SuperUser (that is, type "su"). Enter root passwords as necessary.

3. Type "grub" which makes a GRUB prompt appear.

4. Type "find /boot/grub/stage1". You'll get a response like "(hd0)" or in my case "(hd0,3)". Use whatever your computer spits out for the following lines.

5. Type "root (hd0,3)".

6. Type "setup (hd0,3)". This is key. Other instructions say to use "(hd0)", and that's fine if you want to write GRUB to the MBR. If you want to write it to your linux root partition, then you want the number after the comma, such as "(hd0,3)".

7. Type "quit".

8. Restart the system. Remove the bootable CD.

YOU MIGHT WANT TO READ THIS ENTIRE POST FIRST

http://ubuntuforums.org/showthread....

Good Luck!


0
Reply to Message Icon

Related Posts

See More


linux client on Win 2000 ... Perl Prime Number



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: grub in root partition

How to extend root '/' partition www.computing.net/answers/linux/how-to-extend-root-partition-/13843.html

cant insult linux in a partition www.computing.net/answers/linux/cant-insult-linux-in-a-partition/27863.html

root partition size www.computing.net/answers/linux/root-partition-size/24824.html