LinuxQuestions.org
Help answer threads with 0 replies.
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 05-13-2009, 09:45 PM   #1
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Rep: Reputation: 37
usb installer on thinkpad r61 - "boot error"


I am having trouble getting the usb-installer to boot successfully on my thinkpad. After downloading the image and dd'ing it to a usb-key, I attempted to reboot my laptop. I choose the usb-stick from my boot menu, and it simply results in "Boot Error." To confirm my laptop could boot from usb, I have grabbed another live-usb image and booted it with success.

After a bit of searching, it seems others have had similar issues with thinkpads. My guess is it's something to do with syslinux, as the live-usb image I had successfully booting used grub as its loader.

Has anyone successfully gotten around this "boot error" problem ? There are no further errors, as the boot doesn't even get to the kernel-loading stage.
 
Old 05-14-2009, 05:35 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,259

Rep: Reputation: Disabled
Hi

Some computers are not able to boot from a USB pendrive with Slackware's usbboot.img on it.

For that reason I have written the script usbimg2disk.sh which takes the contents of usbboot.img and writes that to a standard USB pendrive with vfat partition. The command "usbimg2disk.sh -h" shows the following:

Code:
# Purpose: to use the content of Slackware's usbboot.img and transform
#   a standard USB thumb drive with a single vfat partition
#   into an alternative USB boot device for the Slackware installer.
# 
# Reason: some computers refuse to boot from a USB thumb drive if it was
#   made bootable by dumping 'usbboot.img' onto it.
# 
# Your USB thumb drive may contain data!
# This data will *not* be overwritten, unless you have
#   explicitly chosen to format the drive by using the '-f' parameter.
# 
# usbimg2disk.sh accepts the following parameters:
#   -h|--help                  This help
#   -f|--format                Format the USB drive before use
#   -i|--infile <filename>     Full path to the usbboot.img file
#   -l|--logfile <filename>    Optional logfile to catch fdisk output
#   -o|--outdev <filename>     The device name of your USB drive
#   -u|--unattended            Do not ask any questions
# 
# Example:
# 
# usbimg2disk.sh -i ~/download/usbboot.img -o /dev/sdX
#
I wrote this script because the usbboot.img was unable to boot the Slackware installer from a USB drive on a tablet computer that I own.

I also asked Pat to add this script to the usb-and-pxe-installers directory.

Eric
 
Old 05-14-2009, 04:37 PM   #3
abrouwers
Member
 
Registered: May 2005
Location: Michigan
Distribution: Slackware -current
Posts: 98

Original Poster
Rep: Reputation: 37
Eric,

I can confirm that your script transformed the image perfectly for my thinkpad. It now boots the kernel successfully, and I can load the installer with ease.

Thanks alot, and +1 for its inclusion in the usb-installation directory!
 
  


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
when i try to install "Gnome Menus" from the package installer, and error comes up. MFA Linux - Newbie 11 03-15-2009 03:11 PM
error: Error for wireless request "Set Mode" (8B06) : invalid argument "roaming" penguin chick Linux - Wireless Networking 5 08-22-2008 01:16 PM
"Installing non-distro Linux on USB key" or "Using syslinux to boot a jffs2" lymae Linux - Newbie 6 12-31-2006 10:00 PM
Writing to "/dev/usb/hiddev*" and to "/proc/bus/usb/00B/00S" throw an arror EI stpg Programming 0 07-14-2004 05:44 AM
./MAKEDEV usb error - dont know hot to make device "usb" Zero-0-Effect Linux From Scratch 4 04-10-2004 07:09 PM


All times are GMT -5. The time now is 02:06 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 Google+: linuxquestions
Open Source Consulting | Domain Registration