Folks I'm new to ISOLINUX and I've compiled a new Linux distribution of my oppwn (based on LinuxFromScratch). Now I want ot create a bootable CD with it - I don't need swap or anything like that as the bootable CD will simply run a couple of scripts to copy files onto a machine's hard drive. What exactly do I need to put in my isolinux.cfg file? Do I *need* to have a initrd or can I do without? How do I tell ISOLINUX where to find the root filesystem (or does it figure it out itself)? -- Dermot Bradley bradley at oldcolo.com, bradley at debian.org
On Tue, 26 Mar 2002 17:35:03 -0700 (MST), Dermot Bradley <bradley at oldcolo.com> wrote:>What exactly do I need to put in my isolinux.cfg file? Do I *need* to have >a initrd or can I do without? How do I tell ISOLINUX where to find the >root filesystem (or does it figure it out itself)?Where is the root fs? -- giulioo at pobox.com
> > >What exactly do I need to put in my isolinux.cfg file? Do I *need* to > > have a initrd or can I do without? How do I tell ISOLINUX where to > > find the root filesystem (or does it figure it out itself)? > > Where is the root fs?Its the CD's top level - I want ISOLINUX to load the kernel, mount the CDROM read-only as "/", have no swap, and run a simple shell-script to install files onto the machine's hard disk. Is this possible? -- Dermot Bradley bradley at oldcolo.com, bradley at debian.org
> This is possible, yes. you can make a bootable CDROM with isolinux, > with a kernel that supports scsi CDROM emulation. then your 1st cd-drive > will always be /dev/scd0 (iirc). you can say to your kernel that that is > our / by using rdev: 'rdev <kernel image> <root fs>'. if your kernel > would be called vmlinuz, then you should type 'rdev vmlinuz /dev/scd0'.Well the CD will always be used via either native SCSI or SCSI emulation. As I'll be using devfs I guess the device name would actually be /dev/cdroms/cdrom0 I've never used rdev before - does it actually alter the contents of a kernel image? If so then I guess "rdev /lfs/boot/vmlinux /dev/cdroms/cdrom0" would do what I need. -- Dermot Bradley bradley at oldcolo.com, bradley at debian.org