LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   LILO installation to external SATA fails (https://www.linuxquestions.org/questions/linux-newbie-8/lilo-installation-to-external-sata-fails-4175499780/)

slaka 03-28-2014 05:45 AM

LILO installation to external SATA fails
 
Hey,

I attached my SATA HDD through USB and installed Slackware in it.
Then booted to my Slackware installation of internal HDD and attempted to install lilo.


Partition layout:
Code:

sdX1 Primary (Windows)
sdX2 Extended partition
sdX5 Logical (Slackware installed here)

lilo.conf
Code:

prompt
lba32
root=/dev/sda  #tried with sdb

label=Slackware
image=/boot/vmlinuz
read-only

label=Slackware2
image=/boot/vmlinuz
root=/dev/sda5      #tried with sdb
read-only

Code:

#parted /dev/sdb
#parted set 5 boot on 
#parted set 2 boot on
#lilo -b /dev/sdb -C /etc/lilo-sdb.conf
*Added 2 Slackware
*3 Warnings issued, (don't remember exact but says that partition doesn't reside at same drive or something like that. Googled error but it isn't fatal error apparently.)

When I then mount this drive back to computer as primary HDD and boot, I get "L 99" and extra 99 appears every second.

I've tried different lilo.configurations, removed lba32, prompt, changed root to 'sdb' instead of 'sda' but same behavior always.
But one catch that when I attach this same HDD to another computer using USB and boot, I don't L 99 but instead a lilo prompt, booting Slackware doesn't work though and ends up in kernel panic.




.

floppy_stuttgart 03-29-2014 02:59 AM

a lilo conf issue ? http://www.codecoffee.com/tipsforlinux/articles/6.html
If I remember a setup I made 2 years ago with win and linux in parallel (in grub), Windows must receive the feeling he is the first os in your system else it wont boot. Perhaps it is the similar issue with lilo. In any case, look at conf files which were tested. In your conf file I dont see a "label=win" or "default=win"; perhaps it is where to start.


All times are GMT -5. The time now is 04:33 AM.