I have a Dell Optiplex 745 computer that has both Windows XP and
Slackware 12.2 installed on it. The Linux is installed as logical partitions. The hard disk started showing early signs of failure (it
is 6 years old); so I replaced it. I restored the partitions using an Acronis backup (sector by sector) on the root partition.
Upon trying to boot Lilo shows L 04 04 04 ...
I could not get into
either XP or Linux. I used a XP repair disk to fix the MBR so I can
now get XP to boot.
How do I get booted back into the Slackware 12.2 installation so I
can reload Lilo.
The partitions are root /dev/sda5, swap /dev/sda6,
usr /dev/sda6 and home /dev/sda7. I booted the Slackware 12.2 install
disk and all the files seem to be in the partitions.
Earl Fryman
Earl Fryman wrote:
I have a Dell Optiplex 745 computer that has both Windows XP and
Slackware 12.2 installed on it. The Linux is installed as logical
partitions. The hard disk started showing early signs of failure (it
is 6 years old); so I replaced it. I restored the partitions using an
Acronis backup (sector by sector) on the root partition.
Upon trying to boot Lilo shows L 04 04 04 ...
First stage loader is loaded ("L")
Read error - sector not found ("04") while trying to load the second-stage >loader.
I could not get into
either XP or Linux. I used a XP repair disk to fix the MBR so I can
now get XP to boot.
How do I get booted back into the Slackware 12.2 installation so I
can reload Lilo.
The quickest way I can think of is to boot from the slackware install disk, >and use it to access your Slackware installation directories.
Tip: from the install CD, you can use the commandline to mount your >installation root filesystem
mount /dev/sda5 /mnt
then you can chroot and mount the rest of the system as per normal
cd /mnt
chroot . /bin/bash
swapon -a
mount /dev/sda6 /usr
mount /dev/sda7 /home
You can then fix your LILO installation, rerun lilo, and (attempt to) reboot >into Slackware Linux from your hd.
The partitions are root /dev/sda5, swap /dev/sda6,
usr /dev/sda6 and home /dev/sda7. I booted the Slackware 12.2 install
disk and all the files seem to be in the partitions.
Earl Fryman
HTH
Earl Fryman wrote:
[...]
How do I get booted back into the Slackware 12.2 installation so I
can reload Lilo.
The quickest way I can think of is to boot from the slackware install
disk, and use it to access your Slackware installation directories.
Tip: from the install CD, you can use the commandline to mount your installation root filesystem
mount /dev/sda5 /mnt
then you can chroot and mount the rest of the system as per normal
cd /mnt
chroot . /bin/bash
swapon -a
mount /dev/sda6 /usr
mount /dev/sda7 /home
I have a Dell Optiplex 745 computer that has both Windows XP andLILO's first stage records the sector positions of the second stage.
Slackware 12.2 installed on it. The Linux is installed as logical partitions. The hard disk started showing early signs of failure (it
is 6 years old); so I replaced it. I restored the partitions using an Acronis backup (sector by sector) on the root partition.
Upon trying to boot Lilo shows L 04 04 04
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:35:21 |
Calls: | 6,658 |
Files: | 12,203 |
Messages: | 5,333,788 |