Find the answer to your Linux question:
Results 1 to 3 of 3
I'm trying to use grub2 on a USB to boot up a LFS live cd. I've searched a good bit and can't find anything on it. This is what I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2013
    Posts
    3

    Thumbs up Need a grub2 menuentry for LFS


    I'm trying to use grub2 on a USB to boot up a LFS live cd. I've searched a good bit and can't find anything on it. This is what I have so far.

    Code:
    set timeout=30
    set default=0
    
    menuentry "LFS" {
    	set iso="/iso/lfs.iso"
    	loopback loop $iso
    	linux (loop)/boot/isolinux/linux
    	initrd (loop)/boot/isolinux/initramfs_data.cpio.gz
    }
    What I need is the rest of
    linux (loop)/boot/isolinux/linux
    Anyone have a clue as to what to put there? Or should I just go with trial and error?

    There are several tutorials on using grub, but I have grub2, and too many important things would be uninstalled if I installed grub on my system.

    For using grub, they use something like this
    root=iso:/dev/disk/by-uuid/48F4-6515:/lfslivecd.iso rootfstype=vfat rootdelay=20
    So maybe this:

    Code:
    set timeout=30
    set default=0
    
    menuentry "LFS" {
    	set iso="/iso/lfs.iso"
    	loopback loop $iso
    	linux (loop)/boot/isolinux/linux root=iso:/dev/disk/by-uuid/EA37-BE77:/$iso rootfstype=vfat rootdelay=20
    	initrd (loop)/boot/isolinux/initramfs_data.cpio.gz
    }
    Last edited by xExekut3x; 06-29-2013 at 04:50 PM.

  2. #2
    Just Joined!
    Join Date
    Jun 2013
    Posts
    3
    Code:
    set timeout=30
    set default=0
    
    menuentry "LFS" {
    	set iso="/iso/lfs.iso"
    	loopback loop $iso
    	linux (loop)/boot/isolinux/linux root=iso:/dev/disk/by-uuid/EA37-BE77:/$iso rootfstype=vfat rootdelay=20
    	initrd (loop)/boot/isolinux/initramfs_data.cpio.gz
    }
    This didn't work. Just hangs with no errors.

  3. #3
    Just Joined!
    Join Date
    Jun 2013
    Posts
    3
    Oh *snap*! I come back after a few minutes and it's booted up!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •