Hi All.
I am trying to install Salix Openbox 14.1 CD ISO (i486 & i686, 32-bit) from USB key on my working PC.
I have Windows XP installed on SATA HDD. So I physically unplugged it and install Salix on second PATA HDD. Then I plugged HDD with Windows again.
The idea is to change boot priority of HDDs in BIOS and this way to chose between two OSs. So there are two separate HDDs with two different MBRs, bootloaders and OSs.
I successfully used this scheme on this computer with Win XP + Debian and currently using on my home PC with Win 7 + Manjaro.
But the problem is that after installation Salix works with unplugged Windows HDD and doesn't boot when I plug it (see picture).
After this PC is just freezes with Caps Lock and Scroll Lock lights blinking on the keyboard.
Any ideas? Is it because Salix uses LILO but Debian and Manjaro use GRUB?
P.S. Yes I know I can use one bootloader for both OSs but I want them to be separate.
Can't install Salix on separate HDD
-
- Posts: 518
- Joined: 20. Jun 2016, 20:15
Re: Can't install Salix on separate HDD
This is probably because when you plug a hdd the devices names change, e.g. /dev/sda become /dev/sdb.
The way to avoid that is to name your partitions by UUID instead of by name:
So, in /etc/fstab I would replace this line:
by this one:
And so on for the other partitions.
To know more: man fstab
The way to avoid that is to name your partitions by UUID instead of by name:
- boot Salix
- in a terminal type
Code: Select all
lsblk -o name,uuid
- in /etc/fstab replace the first field of the root partition with UUID=<value given by lsblk>
Code: Select all
didier[~]$ lsblk -o name,uuid
NAME UUID
sda
└─sda3 53ea8679-197e-437c-bdcb-61c55c509a2f
sdb
├─sdb1 60CA-18FA
├─sdb2 446e4302-60ee-4bb8-b404-b06ef1a76057
├─sdb3 b585ad05-c49a-4cb4-a016-c074c8ff8b8e
└─sdb4 68787abd-c4fe-43f1-a148-f186e61b8ff2
sr0
didier[~]$
Code: Select all
/dev/sdb2 / ext4 defaults 1 1
Code: Select all
UUID=446e4302-60ee-4bb8-b404-b06ef1a76057 / ext4 defaults 1 1
To know more: man fstab
Re: Can't install Salix on separate HDD
Thank you.
I will try it.
I will try it.
Re: Can't install Salix on separate HDD
I tried it today but the result is very similar (see pic 1).
I edited /etc/fstab as it shown on pic 2.
Could you please check if I did it correctly?
I edited /etc/fstab as it shown on pic 2.
Could you please check if I did it correctly?
Re: Can't install Salix on separate HDD
You should probably use the UUID in lilo.conf too:
https://docs.slackware.com/howtos:slack ... g#liloconf
https://docs.slackware.com/howtos:slack ... g#liloconf