You are not logged in.

#1 2005-06-13 05:09:49

max_sipos
Member
From: Ithaca, NY
Registered: 2004-10-31
Posts: 106
Website

Booting into CD-on-disk

My laptop is unable to boot from a CD and I had a great deal of trouble getting Arch installed (Arch floppies do not support PCMCIA cd-roms, my pcmcia LAN card, etc.). Just in case, I made an ~800Mb partition and dd-ed the arch instalation CD there. What I would like to do now is to try to set up Grub so I would have an option to boot into the "rescue partition".

I came up with this, however, it does not work.

title  Rescue Partition
root   (hd0,2)
kernel /isolinux/vmlinuz root=/dev/rd/0 BOOTMEDIA=cd
initrd /isolinux/initrd.img

The partition should be fine since I can easily mount it with:

mount /dev/hda3 /mnt/cd

[/code]

Offline

#2 2005-06-13 06:48:39

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: Booting into CD-on-disk

the kernel isnt in the right place, it needs to be on the host system where grub is being run from. afaik hte initrd does too.

Offline

#3 2005-06-13 07:59:57

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Booting into CD-on-disk

hmmm - I had a floppy once that allowed you to boot to a CD... it was a pass-through for older systems...  can't recall the name, but if I find it, I'd suggest that

Offline

#4 2005-06-13 08:11:29

keevn7
Member
From: Lancaster, OH, US
Registered: 2005-06-09
Posts: 206
Website

Re: Booting into CD-on-disk

There should be a way to add an entry for the CDROM drive in GRUB. I am not sure how to do this though, so check around on Google or in the GRUB documentation.

Offline

#5 2005-06-13 09:23:55

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: Booting into CD-on-disk

Similar thing to Phrakture ... have you tried
Toms Root boot

got a good FAQ / Search  and Wiki too.[/url]

Offline

#6 2005-06-13 09:56:10

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Booting into CD-on-disk

Does the hard drive install wiki help?

I couldn't get grub to read an iso file system so I mounted the CD iso on loopback and copied the entire CD filesystem to a reiserfs formatted partition. It sounds like you missed that step? "dd"ing the iso would work with Lilo.

Offline

#7 2005-06-13 13:16:35

max_sipos
Member
From: Ithaca, NY
Registered: 2004-10-31
Posts: 106
Website

Re: Booting into CD-on-disk

Vacant's suggestion was what I needed. Works great now. Thanks a lot!

I've tried quite a few magical floppy distributions but never got them to work with my hardware, IMHO a "rescue partition" beats them.

Offline

#8 2005-07-19 23:21:36

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Booting into CD-on-disk

you forgot to put a space between -t and iso9660:
-t iso9660
and I don't know why you have a '#' after /dev/discs/disc0/part. It should be replaced by the number of your partition.

Offline

#9 2005-07-20 03:55:36

max_sipos
Member
From: Ithaca, NY
Registered: 2004-10-31
Posts: 106
Website

Re: Booting into CD-on-disk

Yes, that is because mount probes for what kind of FS the partition has. So, basically the -t option is sometimes optional.

Offline

Board footer

Powered by FluxBB