Quote:
Originally Posted by alexander
Why are you putting all that straight down on the usb drive? wouldn't it make more sense to use squashfs or something and only manage the vfat boot partition with a boot loader, kernel and system config on there? Just curious, it just seems like you are doing this a bit backwards, to me...
|
Well it was just a learning exercise. Are you saying I put linux on one partition and the /boot on vfat, or am I not understanding you?
Quote:
Originally Posted by alexander
as far as syslinux goes, you only need two files on there ldlinux.sys and syslinux.cfg and your kernel for a successful boot. then run through the syslinux cfg
ex:
default Linux
label Linux
kernel bzImage
append root=/dev/hdc
and that should boot your kernel.
So then you just need a kernel with squashfs, and perhaps compression built in to pull up the rest of your data...? I dunno i haven't built a live distro in a while, but as far as i recall, that is basically how the boot process went?
|
Thanks for the tips. I don't know anything about squashfs, is it just like a different partition type? I never got far enough to setup a bootloader, or kernel for that matter. After trying/retrying different versions of 64-bit LFS, I finally got x86 to build all the way through (on ext2,) but I had to use my USB for an Arch reinstall (after an
update that weeded out a lot of us noobs.) I did save my 32-bit LFS tookit, tho. I think I'm gonna wait for 64-bit to mature a little, then retry.