Main Page | Report Page

 

  Linux Forum Index » Linux - Slackware Forum » slackware on external HDD...

Author Message
crzyjw...
Posted: Thu May 07, 2009 5:54 pm
 
I have taken an old laptop SCSI HD and made it a new 80G external usb
drive. Now I want to install slackware to this drive so that I can
take my linux anywhere (as long as the computer supports usb boot).
From what I have read online it should be as easy as boot with install
cd, locate correct drive, and install to that drive like normal
installation. I do this and I get kernel panics and a whole lot of
weird stuff that I am unfamiliar with. I know that this has to be
possible and a lot easier than what I am coming up with. My question
is, can anyone out there that has successfully completed this give me
a few pointers or maybe some direction.
 
Otako...
Posted: Fri May 08, 2009 4:01 am
 
On 2009-05-08, crzyjw wrote:
Quote:
From what I have read online it should be as easy as boot with install
cd, locate correct drive, and install to that drive like normal
installation. I do this and I get kernel panics and a whole lot of
weird stuff that I am unfamiliar with.

Post the kernel panic messages and lilo.conf file for
the ext usb drive. Also what is the root filesystem
on the ext usb disk? An ext usb drive configuration
should be similar to a usb pen drive install.

Kernel panic messages may mention not being able to
mount the usb root partition if scsi, ext3 or reiser
filesystem is not supported in kernel or initrd.

If the root filesystem is mounted and the kernel can
not change over to it (or locate it) it may indicate
the root= stanza in the image section of lilo.conf on
the usb drive is wrong or not yet configured.

Here is my usb pens lilo.conf.

image = /boot/vmlinuz-huge-2.6.27.7
initrd = /boot/initrd.gz
label=flash
root = /dev/sdc1
read-write
append="hda=noprobe hdb=noprobe hdc=noprobe hdd=noprobe"

You will need to chroot to the ext usb root partition and
run liloconfig from there.

example:
#mount /dev/sda1 /mnt/memory
#chroot /mnt/memory #change root to /dev/sda1
#liloconfig #fix /dev/sda lilo.conf

--
otako
 
Joseph H. Rosevear...
Posted: Fri May 08, 2009 1:57 pm
 
crzyjw <jvanfleet at (no spam) gmail.com> wrote:
Quote:
I have taken an old laptop SCSI HD and made it a new 80G external usb
drive. Now I want to install slackware to this drive so that I can
take my linux anywhere (as long as the computer supports usb boot).
From what I have read online it should be as easy as boot with install
cd, locate correct drive, and install to that drive like normal
installation. I do this and I get kernel panics and a whole lot of
weird stuff that I am unfamiliar with. I know that this has to be
possible and a lot easier than what I am coming up with. My question
is, can anyone out there that has successfully completed this give me
a few pointers or maybe some direction.

I'm using an external hard drive right now. I find it convenient in
the manner you suggested. I sometimes take it with me and boot from
other computers.

I do it in much the same way that Douglas Mayne suggested in another
post to this thread. I use Grub and I boot from a CD-R. The CD-R has
a kernel, some modules, and an initrd that includes a custom made init
script (plus some libraries and executables).

This advice (mostly from Douglas) sounds good to me:

-Don't use the huge kernel.
-Learn how to make an initrd.
-Study the init script.
-Use Grub and boot from a CD-R.
-Give some thought to which modules you will need. Douglas' suggestion
sounds like a good start, although I use a few others too. Maybe ext3?

-Joe
 
 
Page 1 of 1    
All times are GMT - 5 Hours
The time now is Tue Sep 02, 2014 7:33 am