Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Setup Lilo To Boot Plan 9, Dual boot between Linux and Plan 9
the empty calori...
post Apr 16 2005, 02:50 AM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 254
Joined: 28-December 04
Member No.: 1,884



Does anyone know how to set up LILO to boot another hard disk with Plan 9 installed on it? I'm Installing it on the other hard drive, and then hooking it up as a slave and setting up LILO to give me an option to boot into Plan 9 on that drive. Anyone have any ideas?
Go to the top of the page
 
+Quote Post
miCRoSCoPiC^eaRt...
post Apr 16 2005, 10:36 AM
Post #2


PsYcheDeLiC dR3aMeR
Group Icon

Group: Admin
Posts: 2,242
Joined: 29-January 05
From: Nakorn Chaisri, Thailand
Member No.: 2,411



It's quite simple actually. Lets assume that your first drive is /dev/hda1 and second drive with Plan 9 is /dev/hdb1. Another assumption is you've got Linux+Lilo installed on the either drive with lilo being set to boot from the first drive.

In your /etc/ folder you'll find a file called lilo.conf. It looks somewhat like this.
CONSOLE
boot = /dev/hda
vga = normal
read-only
prompt
default = dos
timeout = 30
append="hdc=ide-scsi"

image = /boot/vmlinuz
label = linux
root = /dev/hda2
initrd = /boot/initrd



This configuration is set to boot DOS from first partition of your drive and Linux from a second partition. The first line here, boot = /dev/hda tells lilo to install itself on the MBR of the first drive and boot using it. Assuming you've got Windows and Linux on the first one, and Plan 9 on the second, your config file should look like this:
CONSOLE
boot = /dev/hda
vga = normal
read-only
prompt
default = WinXP
timeout = 30
append="hdc=ide-scsi"

image = /boot/vmlinuz
label = Linux
root = /dev/hda2
initrd = /boot/initrd

other = /dev/hda1
label = WinXP
table = /dev/hda

other = /dev/hdb1
label = Plan9
table = /dev/hdb


Once you've made these changes to lilo.conf, save and quit. Now you've to run lilo once to read the config changes. It resides in /sbin/lilo - so simply run,
CONSOLE
shell> /sbin/lilo
Added Linux
Added WinXP *
Added Plan9


The * beside WinXP tells you that it is the default boot OS.

To make Plan 9 your default OS, you should type:
CONSOLE
shell> lilo -D Plan9


That should do it for you.... smile.gif
Go to the top of the page
 
+Quote Post
yordan
post May 19 2006, 02:33 PM
Post #3


Way Out Of Control - You need a life :)
Group Icon

Group: [MODERATOR]
Posts: 2,035
Joined: 16-August 05
Member No.: 7,896



QUOTE
It resides in /sbin/lilo

Nice tutorial, miCRoSCoPiC^eaRthLinG ! I learned a lot with it !
Just a simple comment, on some systems like mine, it's not /sbin/lilo, it's /etc/lilo.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Now Linux is ease(9)
  2. Linux SuSE detec you all hareware(2)
  3. You can Play now in Linux(26)
  4. What's The Difference Between Linux And Unix?!?(15)
  5. What Language Is Linux Written In ?(15)
  6. Where To Find Notepad++ For Linux ?(37)
  7. What Made You Switch To Linux?(60)
  8. Psybnc - Howto(4)
  9. Looking For Linux(34)
  10. How To Install Linux Without A CD or DVD?(11)
  11. What Programs To I Need To Setup To Rip And Encode Video From My Camcorder?(2)
  12. Ubuntu 7.10 + Windows Xp Dual Boot(6)
  13. Diablo 2 In Linux?(10)
  14. What Programs To I Need To Setup To Rip And Encode Video From My Camcorder?(1)
  15. Linux?(3)
  1. What Is Linux(2)
  2. So, I Want To Try Out Linux.(9)
  3. How To Play Music And Movie In Linux? Which Is The Good One?.(5)
  4. Some Usefull Linux Basic Commands And Utilities. Please Add To This List If You Know One.(0)
  5. How To Copy File & Folders From Linux To Windows?.(12)
  6. Access Linux Box From Windows Machine- Putty Tool(2)
  7. Linux For Beginners- Easy To Install(15)
  8. Linux Basic Command - For Storing Compilation Error To File(1)
  9. Choice Of Motherboard For Linux Virtualization(4)
  10. Why Linux?(23)
  11. Which Linux Version For Newbies?(14)
  12. Linux Software Installation Help(2)
  13. I Want To Get Linux, Which One Is Best?(4)


 



- Lo-Fi Version Time is now: 8th October 2008 - 05:07 AM