Do you have a question? Post it now! No Registration Necessary
Subject
- Posted on
creating bootable solid state disks
- 07-14-2003
July 14, 2003, 11:52 pm

What is the simplest way to build a bootable system onto a
newly formatted solid state disk on a different device than
the one the system was booted from?
Say I have just built my kernel under a plain RedHat distro
on /dev/hda and want to make a bootable Disk On Module temporarily
connected on any different atapi port (say /dev/hdc).
The destination disk was already partitioned and formatted and
basic system files and directories were also copied.
Once created the disk will be moved and booted again as the
first primary (hda).
I've tried multiple times different lilo configurations,
but never managed to boot the destination disk. The Linux
From Scratch manual didn't help much.
Any info will be appreciated. Tankyou.
newly formatted solid state disk on a different device than
the one the system was booted from?
Say I have just built my kernel under a plain RedHat distro
on /dev/hda and want to make a bootable Disk On Module temporarily
connected on any different atapi port (say /dev/hdc).
The destination disk was already partitioned and formatted and
basic system files and directories were also copied.
Once created the disk will be moved and booted again as the
first primary (hda).
I've tried multiple times different lilo configurations,
but never managed to boot the destination disk. The Linux
From Scratch manual didn't help much.
Any info will be appreciated. Tankyou.

Re: creating bootable solid state disks

The problem with LILO is that it does not really distinguish
between install-time and boot-time device. You may have better
luck with GRUB (http://www.gnu.org/software/grub /) or ROLO
(ftp://ftp.sysgo.de/pub/elinos/rolo )
Rob
--
Robert Kaiser email: rkaiser AT sysgo DOT de
SYSGO AG http://www.elinos.com
Robert Kaiser email: rkaiser AT sysgo DOT de
SYSGO AG http://www.elinos.com
We've slightly trimmed the long signature. Click to see the full one.

Re: creating bootable solid state disks
sector.
(In your case it would write 0x82 for hdc).
There is a mapping command in lilo that allow you to remap hdc=0x80
Include this at the beginning of lilo.conf
disk=/dev/hdc
bios=0x80
disk=/dev/hda
bios=0x81
That way lilo will write 0x80 (which is what you want since you want to boot
it up as the primary IDE master).

Site Timeline
- » Re: resolver problem
- — Next thread in » Embedded Linux
-
- » remote X vs VNC
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » CR1616 en remplacement de CTL1616
- — The site's Newest Thread. Posted in » Electronics (French)
-