Re: creating bootable solid state disks

From: Manoj Apte (spam_at_stop.no)
Date: 07/24/03


Date: Thu, 24 Jul 2003 18:41:19 GMT

When you run lilo, it will write the BIOS device number into the boot
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).

"cct" <spam@me.not> wrote in message
news:qnHQa.31476$it4.840249@news1.tin.it...
> 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.
>



Relevant Pages

  • Re: lilo with /dev/hdc and /dev/sda
    ... I tried the newest version of LILO and it tells me that both /dev/sda ... The CF will not boot if it is in /dev/sda when LILO ... > device code. ... > newest release of LILO, which will boot by VolumeID, determining BIOS device ...
    (comp.os.linux.misc)
  • lilo hangs at "Resolve invalid VolumeIDs" ?!
    ... Having a few hassles with lilo 22.5.8 - I first noticed the problem after building a new kernel. ... Was just about ready to boot it, ran lilo to complete off the upgrade and it just hangs there. ... # Specifies the device that should be mounted as root. ...
    (Debian-User)
  • lilo hangs at "Resolve invalid VolumeIDs" ?!
    ... Having a few hassles with lilo 22.5.8 - I first noticed the problem after building a new kernel. ... Was just about ready to boot it, ran lilo to complete off the upgrade and it just hangs there. ... # Specifies the device that should be mounted as root. ...
    (Debian-User)
  • Re: getting LILO to boot windows
    ... >> people with experience getting LILO or Grub to work may be able to help me. ... >> I need to get my windows installation working to flash my dvd drive. ... > Can you boot your Linux now, even after executing fdisk /mbr et ell? ... # Specifies the device that should be mounted as root. ...
    (comp.os.linux.misc)
  • Re: Why cant ext4 file systems be used as a boot partition?
    ... GRUB option, that a logical drive shall be booted in the ... "traditional" (LILO) way? ... then be the Windows bootloader. ... the first boot stage must be invoked by the BIOS. ...
    (comp.os.linux.setup)