LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 08-30-2010, 09:01 PM   #1
jordanwb
Member
 
Registered: Dec 2008
Posts: 34

Rep: Reputation: 0
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?
 
Old 08-31-2010, 11:26 AM   #2
fancylad
Member
 
Registered: Mar 2008
Distribution: slackware
Posts: 175

Rep: Reputation: 19
Did you try setting root to the partition that holds the iso?
 
Old 08-31-2010, 12:10 PM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,071

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
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
 
Old 08-31-2010, 03:39 PM   #4
jordanwb
Member
 
Registered: Dec 2008
Posts: 34

Original Poster
Rep: Reputation: 0
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
}

Last edited by jordanwb; 08-31-2010 at 03:50 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating the ultimate Grub2 setup: Windows installer + Live, Linux installer + live + todda7 Linux - General 47 08-05-2010 11:22 AM
[SOLVED] Trying to chainboot Slackware from Grub2 trumpet_tom Slackware 3 06-07-2010 11:35 AM
problem starting mysql,new installer addingadam1 Linux - Newbie 3 10-30-2004 12:28 PM
Help! Mandrake installer freezes just after starting korskarn Mandriva 3 10-17-2003 05:44 PM
Starting Linux installer from a floppy Jerad Linux - Software 2 01-19-2002 05:23 PM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration