LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2010, 03:22 PM   #1
ngc457
Member
 
Registered: Jan 2010
Distribution: Slackware
Posts: 30

Rep: Reputation: 15
installing 12.2 on netbook - usb hd


I'm trying to install Slackware on a USB connected harddrive, the computer is an ASUS 1005PE netbook with win 7 on the internal harddrive.

Here's what I did:


1. boot using usb install stick
2. install to 40gb usb hd

the next day...

3. reboot usb install stick
4. mount /dev/sdc1 /mnt
5. chroot /mnt
6. mkinitrd -c -k 2.6.29.6-smp -m ext2:usb-storage:ehci-hcd -f ext2 -w 10 -r/dev/sdc1
7. edit /etc/lilo.conf
boot = /dev/sdc

image = /boot/vmlinuz
initrd = /boot/initrd.gz
root = /dev/sdc1
label = linux
read-only

8. lilo -b /dev/sdc
9. reboot - goes to win 7 on internal hd ignoring the usb drive.

Anyone see my mistake?
 
Old 03-20-2010, 03:31 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
With a quick look over what you've done so far looks OK to me. Does your netbook not have a boot up key combination to tell it what device to boot from? My desktop PC is set up to boot from it's harddisk and at boot time I have to hit F12 to select to boot from the attached USB device. If I don't do this it ignores the bootable USB drive and boots straight to the internal disk - (however - I can change this in the bios).
 
Old 03-20-2010, 03:47 PM   #3
ngc457
Member
 
Registered: Jan 2010
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
No, you just set boot priority in the BIOS.
 
Old 03-20-2010, 04:40 PM   #4
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
I've just noticed you seem to be loading the huge kernel (vmlinuz) but trying to load an initrd with this. This won't work. To run an initrd you need these lines :
Code:
image = /boot/vmlinuz-generic-2.6.29.6-smp
root = /dev/sdc1
label = Slackwaregeneric
initrd = /boot/initrd.gz
On thing I would do is add this to the top of lilo.conf
Code:
append="rootdelay=20"
and rerun lilo. This should make you able to run from the supplied huge kernel without worrying about making an initrd with the devices and wait statements included.
In saying that it sounds like the usb drive is being ignored totally and Windows booted. Are you sure you installed lilo to the USB drive correctly ?
 
Old 03-20-2010, 05:49 PM   #5
ngc457
Member
 
Registered: Jan 2010
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
I using lilo -b /dev/sdc after mounting /dev/sdc1 to /mnt and chrooting it?
But I'll give your kernel idea a try.
 
Old 03-20-2010, 11:59 PM   #6
ngc457
Member
 
Registered: Jan 2010
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bgeddy View Post
In saying that it sounds like the usb drive is being ignored totally and Windows booted. Are you sure you installed lilo to the USB drive correctly ?
I think this might be it? I noted the following warnings after 'lilo -b /dev/sdc':

Ignoring entry 'boot'
/dev/sdc is not on the first disk
BIOS drive 0x82 may not be accessible

I thought using the initrd would take care of these but I guess not as the drive isn't being recognized?

But I have no idea how to proceed.
 
Old 03-21-2010, 05:36 AM   #7
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 231Reputation: 231Reputation: 231
A few more questions . In your original post you mention
Quote:
boot using usb install stick
Where did you get the USB image from ? How did you make the USB stick ?
Code:
ignoring entry 'boot'
This is simply because you have an entry in lilo.conf for boot= and are supplying the same information via the command line.
Quote:
/dev/sdc is not on the first disk
This is a standard warning and nothing to worry about.
Quote:
BIOS drive 0x82 may not be accessible
This may be something to worry about but doubtful. It usually indicates a problem that occurs with older Bios but, as the netbook has the facility to boot to USB device built in, I doubt it should be a problem.

One possible way out is to install lilo to the MBR of the main hard disk (the internal one) and load Windows via the "other=" lilo stanza. There are instructions for how to do this on line if you are unsure. In effect this will boot lilo for everything and you may choose to boot Slackware or Windows. You will have to reset the Bios to boot to the internal hard disk though.

I am not sure why you can't boot to the USB disk - obviously booting to an external usb device works fine as you ran the install from one.
 
Old 03-21-2010, 07:39 AM   #8
ngc457
Member
 
Registered: Jan 2010
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
The USB image is from the 12.2 tree, I used the directions in the USB-PXE directory.

I really don't want LILO on the main drive.
 
Old 03-21-2010, 07:45 AM   #9
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Try plop bootmanager to boot it
it may work

I made a little usb kit for it here
http://multidistro.com/downloads/current/NetBooter.zip

put that on usb and you can net-install a distro and its got plop
plop doesnt install, just boots usb,usb-hdd, usb-cdrom,etc
 
Old 03-21-2010, 08:54 AM   #10
ngc457
Member
 
Registered: Jan 2010
Distribution: Slackware
Posts: 30

Original Poster
Rep: Reputation: 15
I've read about plop before, but don't think that will solve my problem?

I created and booted a USB install stick and installed to a USB hard drive, it's the hard drive that's not booting. But should, I must have something miss configured?

Last edited by ngc457; 03-21-2010 at 08:56 AM.
 
  


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
GRUB: unable to boot netbook with USB/SD card altbeer70 Linux - Newbie 1 02-27-2010 04:33 AM
Use desktop with usb-usb cable as external bootable optical drive for netbook seancarver Linux - Laptop and Netbook 3 11-02-2009 09:38 PM
usb lightscribe on netbook has anyone got them working im on asus 901 with a hp bjrn64 Linux - Software 1 10-01-2009 01:37 AM
img file for 9.04 netbook remix how to get it onto a USB key? dasy2k1 Ubuntu 7 04-20-2009 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration