LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-19-2011, 09:30 AM   #1
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 15, -current
Posts: 172

Rep: Reputation: 1
How to boot from boot partition instead of MBR?


I want to have one XP and two Linux OS in a single hard disk.

I created a boot partition 100MB.

First i install winXP as usual,

second Bodhi Linux, bootloader on its own partition and the boot partition.

Thirdly Slackware, bootloader on its own partition too.

but when i reboot, it only straight boot with winXP. No selection avaliable for the other 2 OS.

Bodhi bootloader is GRUB while slaceware is using LILO. i want to use LILO. How should i go about it?
 
Old 11-19-2011, 10:13 AM   #2
bryanl
Member
 
Registered: Dec 2003
Posts: 97

Rep: Reputation: 35
The reason you boot straight into XP is that you installed it after your Linux distributions or you refreshed the master boot record (MBR) on the drive after the Linux install from the XP system.

One big question is why you want to use LILO. Whenever someone wants to go retro, that usually means that they have some specific requirement in mind and, without knowing that requirement, any recommendations are highly risky.

While you can put the /boot structure GRUB uses for configuration and later stage boot code on its own partition, there is usually no need for this these days.

Since you have a system with GRUB, that is probably the easiest way to go. Boot a Linux system off CD or USB and then re-initialize the GRUB that is there - see Drive upgrade: Ubuntu and Windows 7 dual boot main drive for examples. A Grub re-initialization (command: grub-install --root-directory=/mnt/newroot /dev/sdx) will update the MBR with GRUB code that will look in the /mnt/newroot location for additional code and configuration on drive sdx (these variables need to be substituted appropriately when re-initializing). The GRUB configuration will also be updated to find any bootable systems on your drive so that they will show in the boot menu.

Another thread like this suggested http://members.iinet.net.au/~herman546/p6.html as a help and that page does look like a good place to start to understand the boot process.
 
1 members found this post helpful.
Old 11-19-2011, 10:48 AM   #3
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 218

Rep: Reputation: 29
If you wanted lilo as the bootloader you should have specified to install lilo on the mbr rather than in a partition which would then require another bootloader to pass the boot sequence to lilo which would then boot your OS's.

as you have only just installed these, I'd recommend reinstalling slackware and installing lilo onto the mbr. Alternatively you could edit boot.ini in windows to chainload lilo and grub. I did something similar before but i had the boot option of windows or linux. if i chose linux it would chainload grub which would give me the choice of distro.
 
1 members found this post helpful.
Old 11-19-2011, 11:03 AM   #4
gabytf
Member
 
Registered: Jun 2010
Location: Kota Kinabalu, Sabah, Malaysia
Distribution: Slackware64 15, -current
Posts: 172

Original Poster
Rep: Reputation: 1
how to edit the boot.ini, what should i write in?

i am afraid if i install it in MBR i wouldn't be able to load XP again, this was what happened. i would rather do some chainload here.

Edit 1: NO special reasons to stick with LILO, just thought that if my last sequence of OS installation is Slackware i will be playing with LILO. But now i am with Grub already.

Edit 2: It's alright guys. i reinstall Bodhi Linux which is having GRUB, and install it onto BMR. Boot safely. Trying how to fixing my internet connection with Slackware now.

Thank you guys!

Last edited by gabytf; 11-19-2011 at 12:04 PM.
 
  


Reply



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
[SOLVED] Trying to boot windows partition on startup or creating a new MBR Alariv Linux - Newbie 1 08-02-2010 11:51 AM
MBR, boot partition and BIOS ordering terp4life2001 Linux - Software 14 02-28-2010 09:10 PM
Installing Boot Loader to root partition, NOT to MBR raphaelmsx Calculate 4 01-02-2010 07:16 AM
MBR and First Sector of Boot Partition. mrpc_cambodia Red Hat 1 08-25-2004 01:58 AM
Help with Grub in MBR and /boot partition! zLinuxz Linux - General 11 11-17-2003 11:42 AM

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

All times are GMT -5. The time now is 07:57 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