boot slackware from usb stick
I know there are many threads and posts about booting the slackware installer from USB (if the cd/dvd drive can't boot the system, etc.) Strangely, I haven't seen that many about booting a slackware install from an external USB drive or USB stick.
I've installed slackware 12.2 to my USB stick. Before installation/setup (which I did using cds 1-3), I partitioned it this way: /dev/sdb1 - vfat - 8 GB /dev/sdb2 - ext2 - 23 GB /dev/sdb3 - swap - 1 GB (just in case I actually need one) Installed LILO to the MBR of the USB stick. It starts booting but along the way I get the VFS kernel panic message device (8,18). It says my boot options are /dev/sda or /dev/sda1. But sda is laptop harddisk, not my USB stick...which is sdb and root is on sdb2. So what do I need get it to work? My guess is, an intird image - but which one and how do I get it into LILO? (If it's relevant to the solution, I have slax on another USB which I use as a backup linux usb.) I've tried specifying 'root='s at the 'tab' boot command options but none work (/dev/sdb , /dev/sdb2 , /dev/sdb1). |
Did you have a look at the usb-and-pxe-installers directory? The documentation and boot-images there should get you going.
You should also read Alien Bob's excellent howto at http://alien.slackbook.org/dokuwiki/...ckware:usbboot -y1 |
There is also the Best one for USB-installer for Slackware 12.2
With this and a 4GB or larger USB you can install Slackware-12.2 Full with all packages! ( http://www.slackware.com/~alien/tools/usbinstall/12.2/ ) Please tell me if you get it working... |
Additionally there is the Netinstall 40MB Mini-install .iso which can be extracted to a folder-transferred to USB-then configured to boot from USB-but you must know the Slackware 12.2 mirror urls, etc when installing.
( http://www.slackware.com/~alien/slackboot/mini/12.2/ ) |
Quote:
Quote:
Then, update packages, recompile and make a new/proper intird. |
Can you post the syslinux.cfg you have for the 12.2 USB that is having the kernel panic?
Or the isolinux.cfg-is it booting from the FAT32 partition? |
You can try http://unetbootin.sourceforge.net/
|
Couldn't find 'syslinux.cfg' anywhere in the dir tree. I used the kernel 'huge' from the install cd. My lilo.conf on the USB:
Code:
boot = /dev/sdb |
It looks similar to my lilo.cfg
A question-do you have slack installed to your USB like it's a HD? The lilo.cfg is for the USB right? I have never tried it that way... Others here would know more about that... But, you can also try several different methods-netinstall and usb install as I mentioned above-or additionally I think you can have the slack netinstall boot off the FAT32 partition, put the Slackware-12.2 DVD iso on the ext2 partition and then tell slack to find the iso at the menu prompt during setup-I think I saw that somewhere...? |
Quote:
Quote:
|
OH! I thought you trying to install from USB-sorry!
I don't understand what's wrong-here is my lilo.cfg from my HD sda1 Code:
# LILO configuration file I'm sure somebody here knows... Also, your booting lilo off the FAT32 partition? Is that possible? What is the FAT32 partition for? |
One of the members here has pretty detailed instructions on how to accomplish this:
http://linuxconfig.dyndns.org:1184/l...vable_USB_disk including info for your initrd. Also, I'm pretty sure you're going to have to add a rootdelay line in your lilo.conf in order to give your system time to properly mount the usb stick. I know there are some recent threads in this sub-forum regarding this. I was keen a couple of months back, but I'm happy with my extremely-customized slax usbstick at the moment, and I don't feel like scrapping it to make it pure Slackware (perhaps when 12.3 is released I'll give it a go....) When I have a moment, I'll see if I can hook you up with those threads. cheers, |
Quote:
this is the error (wrote it down): (after 'md' devices...) Code:
VFS: Cannot open root device "812" or unknown-block(8,18) |
Quote:
tried Code:
Slack122-1 rootdelay=10 root=/dev/sdb2 Code:
Slack122-1 rootdelay=10 So will now add an append line to lilo.conf, I think that would be easier/faster than modifying initrd, espcially since I don't have one right now. Will give it a try when I recompile the kernel. Will first redo lilo and re-try the normal boot. Though I'm curious about how 'slax' does it coz there's no notable delay in the boot process. Thanks |
Quote:
cheers, |
All times are GMT -5. The time now is 01:05 AM. |