LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Starting slackware installer via grub2 (http://www.linuxquestions.org/questions/slackware-14/starting-slackware-installer-via-grub2-829423/)

jordanwb 08-30-2010 09:01 PM

Starting slackware installer via grub2
 
I have a 16GB flash drive with grub2 installed on it so I can boot Linux iso's in place of burning 200 CD's. I looked at the isolinux.cfg file and came up with this:

Code:

menuentry "Slackware 13.1 64bit" {
        linux /boot/slackware/13.1/64-bit/bzImage initrd=/boot/slackware/13.1/64-bit/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s root=/dev/ram0
}

However the kernel panics because it cannot mount the root file system. It gives me the options of using my partitions. What should I put for the root parameter?

fancylad 08-31-2010 11:26 AM

Did you try setting root to the partition that holds the iso?

linus72 08-31-2010 12:10 PM

I just would use

Code:

menuentry "Slackware Install" {
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 67655dbc-a9ca-4faf-abe6-2c05d92a30a1
        linux /kernels/hugesmp.s/bzImage initrd=/isolinux/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=hugesmp.s
        initrd /isolinux/initrd.img
}

where the blue is put the UUID number of usb
do "blkid" as root to find out UUID

maybe be better too to just put the kernel in /isolinux folder also and change path
linux /isolinux/bzImage

jordanwb 08-31-2010 03:39 PM

Code:

menuentry "Slackware 13.1 64bit" {
        insmod fat
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 1F1D-B128
        linux /boot/slackware/13.1/64-bit/bzImage initrd=/boot/slackware/13.1/64-bit/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s root=/dev/ram0
}

Same problem. Can't mount root. I started a Virtual Machine to boot the iso I had made and ran "mount", nothing is listed as mounted at /

*Edit*

I got it working with this:

Code:

menuentry "Slackware 13.1 64bit" {
        insmod fat
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set 1F1D-B128
        linux /boot/slackware/13.1/64-bit/bzImage initrd=/boot/slackware/13.1/64-bit/initrd.img load_ramdisk=1 prompt_ramdisk=0 rw SLACK_KERNEL=huge.s
        initrd /boot/slackware/13.1/64-bit/initrd.img
}



All times are GMT -5. The time now is 04:08 AM.