Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Can I stop GRUB writing the mbr?, Need to use a different bootloader.< Next Oldest | Next Newest >
wghay Offline





Group: Members
Posts: 1
Joined: Feb. 2006
Posted: Feb. 02 2006,16:51 QUOTE

With other distros, I can get GRUB to install only in the Linux partition, not in the MBR.  

Can't see a way to do that with DSL - it always seems to write the MBR, and thus wipe out the other bootloader (XOSL) that I use to boot multiple existing Linux, Windows & OS/2 systems.

Is there a way to contain GRUB to the DSL partition?  Could it be done for Lilo?
Back to top
Profile PM 
Chest Rockwell
Unregistered






Posted: Feb. 25 2006,18:54 QUOTE

I have a similar issue.  I have an old Toshiba laptop which I multi boot WinME, Ubuntu 5.10, and DSL frugal.  I came across your post because I was trying to add DSL as the 3rd OS on the system.  I'm still a relative linux newb, but I was able to piece together a working solution.

Here's what I did:
1. installed Windows first (hda1)
2. installed Ubuntu second (hda3, installation writes Grub to the MBR).
3. installed DSL using the frugal_grub.sh install script (hda2, intallation overwrites Grub on the MBR)
4. on the new DSL partition, checked out /boot/grub/menu.lst and copied the lines for booting DSL
5. on hda3 (Ubuntu) added those lines to /boot/grub/menu.lst
6. from a DSL terminal:
$ sudo grub
grub> root (hd0, 2)   <------ this is equivalent to hda3
grub> setup (hd0)     <------ points grub/mbr back to root
grub> quit
7. reboot

Now the portion of grub in the MBR will be looking in hda3 (Ubuntu) for the needed boot/menu files.

I'm writing this from memory, so I could be off on the order of things, but that's the general idea.  Let DSL install grub in the MBR, then just point it back to the Ubuntu (or whichever) partition.

If you absolutely can't stand to have DSL install grub, you could probably edit that part out of frugal_grub.sh.  It looks like the grub installation is all in the last if block.

Hope that helps.
Back to top
1 replies since Feb. 02 2006,16:51 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Can I stop GRUB writing the mbr?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code