|
|
|
| Web Hosting |
![]() ![]() |
Setup Lilo To Boot Plan 9, Dual boot between Linux and Plan 9 |
Apr 16 2005, 02:50 AM
Post
#1
|
|
|
Premium Member 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?
|
|
|
|
Apr 16 2005, 10:36 AM
Post
#2
|
|
|
PsYcheDeLiC dR3aMeR Group: Admin Posts: 2,242 Joined: 29-January 05 From: Nakorn Chaisri, Thailand Member No.: 2,411 myCENTs:84.36 |
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.... |
|
|
|
May 19 2006, 02:33 PM
Post
#3
|
|
|
Way Out Of Control - You need a life :) Group: [MODERATOR] Posts: 2,296 Joined: 16-August 05 Member No.: 7,896 myCENTs:25.55 |
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. |
|
|
|
![]() ![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
Similar Topics
| Topic Title | Replies | Topic Starter | Views | Last Action | |||
|---|---|---|---|---|---|---|---|
![]() |
2 | sparkx | 160 | 26th December 2008 - 06:17 PM Last post by: xboxrulz |
|||
![]() |
7 | mikesoft | 640 | 25th December 2008 - 01:33 PM Last post by: iG-devendra |
|||
![]() |
4 | FirefoxRocks | 168 | 21st December 2008 - 05:38 PM Last post by: Nabb |
|||
![]() |
10 | Kardus | 1,691 | 20th December 2008 - 02:31 PM Last post by: wutske |
|||
![]() |
3 | abdo | 367 | 18th December 2008 - 10:36 AM Last post by: wutske |
|||
![]() |
15 | Miggi | 901 | 16th November 2008 - 02:34 AM Last post by: Guest |
|||
![]() |
6 | veerumits | 501 | 10th November 2008 - 09:14 PM Last post by: levimage |
|||
![]() |
2 | xboxrulz | 244 | 3rd November 2008 - 12:00 AM Last post by: xboxrulz |
|||
![]() |
9 | Chesso | 2,478 | 1st November 2008 - 04:11 PM Last post by: Guest |
|||
![]() |
11 | organicbmx | 4,518 | 10th September 2008 - 10:56 AM Last post by: Guest |
|||
![]() |
8 | Yano | 1,137 | 2nd September 2008 - 09:50 PM Last post by: Guest |
|||
![]() |
2 | Emusic.SR.mN | 475 | 26th July 2008 - 04:07 AM Last post by: Atomic0 |
|||
![]() |
2 | qwijibow | 1,734 | 19th July 2008 - 02:36 PM Last post by: Habble |
|||
![]() |
9 | finaldesign | 1,185 | 7th July 2008 - 01:59 PM Last post by: iGuest |
|||
![]() |
5 | patel | 452 | 1st July 2008 - 12:29 PM Last post by: levimage |
|||
|
Lo-Fi Version | Time is now: 10th January 2009 - 12:28 AM |
© 2009 AstaHost: Free Web Hosting & Technical Discussion, Free Web Hosting. a member of xisto.
Powered by Invision Board. Skin: IPB Forum Skins
Expand / Collapse Navigation



Apr 16 2005, 02:50 AM




