LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-05-2005, 11:38 AM   #1
Boffy
Member
 
Registered: Jul 2003
Location: Durham, UK
Distribution: Ubuntu 8.04
Posts: 419

Rep: Reputation: 30
Is this boot possible...


My computer isnt taking kindly to having lilo or GRUB because my bios will only see the first hard drive in my setup and all the linux partitions are on the second. If i try to put lilo or GRUB on the MBR of the first hard disk all hell breaks loose.

Can I install lilo or GRUB on a bootable CD and then when the computer boots with that CD in I am taken to my hard disk version of linux allowing me to removed the CD from that point onwards.

Thanks in advance

Boffy
 
Old 08-05-2005, 12:01 PM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Yes that works quite well on my boxes. I made links to the kernel and initrd so I don't have to remake the cdrom every time the kernel gets updated. You just need to redo the link on your system. For example, here is what my current FC4 kernel and link looks like...
Code:
lrwxrwxrwx   1 root root      28 Aug  2 13:47 initrd.img -> initrd-2.6.12-1.1398_FC4.img
-rw-r--r--   1 root root  762852 Jul 15 01:19 System.map-2.6.12-1.1398_FC4
lrwxrwxrwx   1 root root      25 Aug  2 13:47 vmlinuz -> vmlinuz-2.6.12-1.1398_FC4
Now onto making the grub boot cdrom . My Fedora system is on /dev/hdb2 so you can change that to your needs.
Code:
cd /home
mkdir -p iso/boot/grub
cp /boot/grub/menu.lst /home/iso/boot/grub
cp /boot/grub/stage* /home/iso/boot/grub
cp /boot/grub/iso9660_stage1_5 /home/iso/boot/grub

mkisofs -R -b boot/grub/iso9660_stage1_5 -no-emul-boot \
-boot-load-size 4 -boot-info-table -o grub.iso iso

Change the menu.lst from ro root=LABEL=/ rhgb quiet to root=/dev/hdb2 rhgb quiet

	color light-gray/blue black/light-gray
title *=*=*=*=*=*=*=*=*=*=*=*=* CDROM BOOT MENU *=*=*=*=*=*=*=*=*=*=*=*=*=*
root (hd0)
title Windows
	rootnoverify (hd0,0)
	chainloader +1
title Fedora Core
	root (hd1,1)
	kernel /boot/vmlinuz ro root=/dev/hdb2 rhgb quiet
	initrd /boot/initrd.img

cdrecord -v speed=4 dev=0,0,0 -data grub.iso
 
  


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
Gentoo-Im dumb and deleted /boot/boot Grub Says: Error 26 : Too many symbolic links smehi Linux - Software 5 06-24-2006 06:25 AM
Dual boot SUSE/XP But SUSE wont let me boot or see boot menu Hairulfr SUSE / openSUSE 9 08-17-2005 12:57 PM
failed features: boot.shm boot.loadmodules boot.swap cccc SUSE / openSUSE 1 08-08-2005 07:23 AM
mandrake 10 command line to gui boot, then stuck at boot with hour glass chris008 Linux - Laptop and Netbook 1 11-14-2004 05:29 PM
DUAL BOOT - WIN XP cant be seen/boot on boot - pls help Bluiee Linux - Newbie 1 05-25-2004 05:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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