LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   X61 usb boot error (http://www.linuxquestions.org/questions/slackware-14/x61-usb-boot-error-691955/)

linko47 12-20-2008 07:26 PM

X61 usb boot error
 
Has anyone successfully booted the Slackware 12.2 usbboot.img on a Thinkpad X61, or similar model? If so, did you do anything special? I can't get it to boot on this particular model laptop. It always gives a "Boot error" message.

Note: This machine boots Slax just fine from the same usb device.

linko47 12-20-2008 08:54 PM

I just used unetbootin instead, and it works fine.

guanx 12-25-2008 01:17 PM

HOWTO: Make Slackware Install Disk (USB/HDD/ZIP/...)

Xin Guan <guanx.bac@gmail.com>

--------------------------------------------------------------------------------
Table of Contents

1. Copyright and License
2. Translation
3. Making a Slackware installation disk using syslinux
--------------------------------------------------------------------------------
1. Copyright and License

This document is copyright. (c) Xin Guan 2008.
License: GNU FDL <http://www.gnu.org/licenses/fdl-1.3.txt>

2. Translation

Please avoid translating this document back to Chinese.

3. Making a Slackware installation disk using syslinux

The Slackware CDROM/DVDROM uses isolinux, which is a variant of syslinux.
So there should be no difficulty in making a bootable Slackware install disk
using syslinux if your disk is in FAT format, or extlinux if in ext2/3.

You need the following files:
i) syslinux, which can be found in the Slackware source directory:
source/a/syslinux/syslinux-*.tar.bz2
ii) Linux kernel images, install initrd, and syslinux menu files, etc.:
kernels/
isolinux/
iii) Slackware binary packages:
slackware/

Now I assume you have a spare disk (USB stick, HDD, ZIP, ...) in FAT
format, and a running system (taking Micro$oft Widows for example).
For other combinations, the procedure is about the same. Please have a
look at <http://syslinux.zytor.com/wiki/index.php/SYSLINUX> to find
possible differences.

Firstly, extract syslinux.exe from syslinux-*.tar.bz2.
Suppose H: will be your install disk, run:
C:> syslinux -sfma H:
(without the C:> prompt) on the command line. This makes a disk bootable
with syslinux. You may need administrator privilege.

Then copy the following files in the "isolinux/" directory from the
Slackware CDROM/DVDROM to the root directory of your install disk:
"f2.txt"
"initrd.img"
"isolinux.cfg"
"message.txt"

Rename "isolinux.cfg" to "syslinux.cfg", and copy the whole directories
"kernels/" and "slackware/" to the same place. Now the directory list
of your install disk should look like this:
slackware\
kernels\
f2.txt
initrd.img
ldlinux.sys
message.txt
syslinux.cfg

Boot with your install disk. If it's a USB stick, you may need to issue
the following command after booting:
# mdev -s
(without the # prompt). This allows the kernel to find new devices.
> For advanced users:
> You may install the udev-*.tgz package to the install initrd, copy the
> bash binary into /bin and change the first line of /etc/rc.d/rc.udev
> to #!/bin/bash
> then the install disk can find devices automatically.

To access the Slackware packages, run: (suppose install disk is /dev/sda1)
# mkdir /install
# mount -t vfat -o ro /dev/sda1 /install
When choosing source during setup, select "pre-mounted directory" and enter:
/install/slackware
Everything else is much similar to a CDROM/DVDROM installation.


All times are GMT -5. The time now is 08:14 AM.