This is a discussion on Re: booting linux from CD within the Linux Operating System forums, part of the Unix Operating Systems category; --> Nomor S. Pam wrote: > > I've been booting linux by loading LILO from floppy. I just got a ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Nomor S. Pam wrote: > > I've been booting linux by loading LILO from floppy. I just got a new > floppyless notebook with a CDROM drive. How can I boot linux from CDROM > without installing LILO or GRUB to hard disk? Make a bootdisk then "dd" it to a file. Then "mkisofs -b file" using the file from above as the boot image. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.0 Kernel 2.4.21 i686 (GCC) 3.3 Uptime: 3 days, 20:30, 1 user, load average: 1.16, 1.06, 1.07 |
| |||
| David <thunderbolt01@netscape.net> wrote in message news:<WiHSa.108694$Ph3.14155@sccrnsc04>... > Nomor S. Pam wrote: > > > > I've been booting linux by loading LILO from floppy. I just got a new > > floppyless notebook with a CDROM drive. How can I boot linux from CDROM > > without installing LILO or GRUB to hard disk? > > Make a bootdisk then "dd" it to a file. > Then "mkisofs -b file" using the file from above as the boot image. Is there any way of creating a bootable CD without creating a bootdisk first? I don't have a working diskette drive. - Beth |
| |||
| Beth wrote: > > Is there any way of creating a bootable CD without creating a bootdisk > first? I don't have a working diskette drive. # dd if=/dev/zero of=bootdisk bs=1440k count=1 # mke2fs bootdisk # mkdir /mnt/disk # mount -o rw,loop=/dev/loop0 bootdisk /mnt/disk # lilo -b /dev/loop0 # umount /mnt/disk # mkisofs -b bootdisk You should check this as it is off the top of my head and I haven't tested it but it should give you an idea as to how it is done. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.0 Kernel 2.4.21 i686 (GCC) 3.3 Uptime: 4 days, 19:45, 1 user, load average: 1.02, 1.09, 1.08 |
| ||||
| David wrote: > Beth wrote: > >> >> Is there any way of creating a bootable CD without creating a bootdisk >> first? I don't have a working diskette drive. > > > # dd if=/dev/zero of=bootdisk bs=1440k count=1 > # mke2fs bootdisk > # mkdir /mnt/disk > # mount -o rw,loop=/dev/loop0 bootdisk /mnt/disk > # lilo -b /dev/loop0 > # umount /mnt/disk > # mkisofs -b bootdisk > > You should check this as it is off the top of my head and I haven't > tested it but it should give you an idea as to how it is done. > You could use "syslinux" also but you would format the file to MSDOS format so that syslinux can write to it. -- Confucius: He who play in root, eventually kill tree. Registered with The Linux Counter. http://counter.li.org/ Slackware 9.0 Kernel 2.4.21 i686 (GCC) 3.3 Uptime: 4 days, 19:45, 1 user, load average: 1.02, 1.09, 1.08 |