LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
LinkBack Search this Thread
Old 10-23-2004, 10:08 AM   #1
hari69
LQ Newbie
 
Registered: Oct 2004
Location: Israel
Posts: 1

Rep: Reputation: 0
Question Booting Linux off of a USB drive


I am trying to boot Linux from a USB hard drive on a Thinkpad T40

i found instruction on "simonf.com/usb/ " web site
loading scsi and usb modules in the initrd level, thanks to the author.

initrd print out

#!/bin/nash

echo "Loading jbd.o module"
insmod /lib/jbd.o
echo "Loading ext3.o module"
insmod /lib/ext3.o
echo Mounting /proc filesystem
mount -t proc /proc /proc
echo "Loading usb modules"
insmod /lib/usbcore.o
insmod /lib/scsi_mod.o
insmod /lib/sd_mod.o
insmod /lib/usb-storage.o
insmod /lib/usb-uhci.o
/bin/sleep 5
echo Creating block devices
mkdevices /dev
echo Creating root device
mkrootdev /dev/root
/bin/sfdisk -R /dev/sda
echo 0x0100 > /proc/sys/kernel/real-root-dev
echo Mounting root filesystem
mount -o defaults --ro -t ext3 /dev/root /sysroot
pivot_root /sysroot /sysroot/initrd
umount /initrd/proc



I proceed and try to load i get this errors on executing this section
running initrd load.

echo Creating block devices
mkdevices /dev
echo Creating root device
mkrootdev /dev/root
/bin/sfdisk -R /dev/sda



mkrootdev /dev/root

field to open /proc/partition : 2
field to open /proc/cmdline: 2

/dev/sda no such device

sfdisk cannotopen /dev/sda for reading
/bin/sfdidk exited ubnormaly



at the Partition check i get all partition correct.


any clue ?
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
booting linux from a usb external drive dr_zayus69 Linux - Hardware 4 08-18-2005 05:57 AM
Help: Booting FC2 linux off of an USB drive... khurdp Fedora 0 02-17-2005 07:47 PM
Booting Linux on USB Hard Drive chittagupta Linux - Hardware 2 08-29-2004 05:53 PM
Booting Linux From a USB Thumb Drive Ehuwiko Linux - General 3 01-09-2004 09:31 PM
Booting up with a USB hard drive? phar1944 Linux - Newbie 4 10-17-2003 10:15 PM


All times are GMT -5. The time now is 01:03 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
Open Source Consulting | Domain Registration