LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 05-07-2008, 08:11 PM   #1
Jabor
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
External USB HDD Install - can't find root


Ok, after attempting to resize my Windows partition, have the process fail on me, and spending a good couple of hours rebuilding the filesystem, I've decided to install Slack to my external HDD instead.

My external drive repartitioned fine, installed fine, but when I go to first run I get a report that I need to specify an valid root. Linux is installed to sda3, the partition is flagged as bootable, and I'm telling the kernel not to probe hdb (hda is my internal drive, which maps correctly).

Any suggestions?
 
Old 05-07-2008, 10:22 PM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Welcome to LQ!

A bootable partition is needed for Windows, but not for Linux.

Please post your /etc/lilo.conf here. Specifically, where is
LILO located? I would think with your internal drive being
/dev/hda you could setup /etc/lilo.conf something like this:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
# Append any additional kernel parameters:
append="panic=15"
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x64k
vga = 791
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz-generic-smp-2.6.24.5-smp
  initrd = /boot/initrd.gz
  root = /dev/sda3
  label = Slack-12.1
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hda1
  label = Windows
  table = /dev/hda
# Windows bootable partition config ends
NB: The above assumes that you have a Windows OS on /dev/hda1,
and no clue what /dev/hdb is on your box. The framebuffer is a guess,
but it could be different if that doesn't work. This installs LILO to the MBR.

You can boot with Slackware CD1 and at the prompt enter:
Code:
hugesmp.s root=/dev/sda3 rdinit= ro
which should get you into your system and let you fix it. After you
edit /etc/lilo.conf you MUST issue "lilo" to write it again.

If you post output also give us "fdisk -l" and "mount" please.
 
Old 05-07-2008, 10:52 PM   #3
Jabor
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
I only have one system handy, so I'm going to be doing a lot of rebooting to figure this out. Could be a while between updates.

Slackware won't even boot from the CD if I specify root=/dev/sda3 unless I also specify hdb=noprobe.

Going to restart and check everything - response time may vary.

Thanks
 
Old 05-07-2008, 11:00 PM   #4
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
Quote:
Originally Posted by Jabor View Post
I only have one system handy, so I'm going to be doing a lot of rebooting to figure this out. Could be a while between updates.

Slackware won't even boot from the CD if I specify root=/dev/sda3 unless I also specify hdb=noprobe.

Going to restart and check everything - response time may vary.

Thanks
Have you tried editing the /etc/lilo.conf on the externel disk and adding append="hdb=noprobe"?
 
Old 05-08-2008, 12:08 AM   #5
Jabor
LQ Newbie
 
Registered: May 2008
Posts: 3

Original Poster
Rep: Reputation: 0
Tried that, didn't work.

Attempting it just now, Slackware won't even boot off the CD if I include "rdinit=" when specifying the kernel (what does that parameter actually do, btw?) Launching off the cd with the following line:

hugesmp.s root=/dev/sda3 ro hdb=noprobe

let me gather the following info:

fdisk -l:
Code:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device  Boot  Start    End     Blocks   Id           System
/dev/sda1            1  27851  223713126    7        HPFS/NTFS
/dev/sda2        30277  30401    1004062+   f  W95 Ext'd (LBA)
/dev/sda3   *    27852  30276   19478812+  83            Linux
/dev/sda5        30277  30401    1004062   82       Linux Swap
mount:
Code:
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
lilo.conf:
Code:
# There are a lot of comments in here that I've left out
boot = /dev/hda
# Append any additional kernel parameters:
append="hdb=noprobe vt.default_utf8=0"
prompt
timeout = 1200
change-rules
  reset

vga=790

# End LILO global section
# Windows bootable partition config begins
other = /dev/hda1
  label = Windows
  table = /dev/hda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda3
  label = Linux
  read-only
# Linux bootable partition config ends
 
  


Reply



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
external usb hdd sameer666 Linux - Hardware 6 10-13-2006 04:35 PM
how do I find external usb hdd? walterbyrd Debian 5 07-21-2005 10:28 PM
IBM T42 with USB External HDD install question eshurtle Linux - Laptop and Netbook 4 02-21-2005 01:18 PM
usb 2.0 external hdd drum2jc Linux - Hardware 0 12-07-2004 03:14 AM
where to find instructions for installing linux on an external hdd linbie Linux - General 2 08-17-2004 05:20 PM

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

All times are GMT -5. The time now is 12:00 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