Bullseye not loading disc drives in bus order?

Kernels & Hardware, configuring network, installing services

Re: Bullseye not loading disc drives in bus order?

Postby ticketman » 2020-02-14 14:49

I tried using a live cd (slitaz) to make the label changes, but it has too old a version of gparted.
Incidentally, its kernel is 2.4 and it always got the bus order correct - I use it for cloning my system disk using 'dd'.
Guess I'll have to get a newer live disc and be extra careful now with 'dd'.

So here's what I did, based on p.H's recommendations:
Booted my system and made sure sda was the system disk.
Then :
Code: Select all
sudo e2label /dev/sda1  VENTO_OS
sudo swapoff /dev/sda5
sudo swaplabel -L VENTO_SWAP /dev/sda5
sudo swapon -L VENTO_SWAP

I had to temporarily turn swap off to allow swaplabel to work.
So you can change partition labels on a running system!

My new fstab is now:

Code: Select all
# <file system>  <mount point>  <type>  <options>          <dump>  <pass>
LABEL=VENTO_OS     /            ext4    errors=remount-ro   0       1
LABEL=VENTO_SWAP   none         swap    sw                  0       0
# -- Data discs --
LABEL=DATA0     /home/xyz/DATA0  ext4    defaults           0       0

and all is now working ok (checked by issuing a 'lsblk -f' command).
Posts: 90
Joined: 2012-06-30 11:06


Return to System configuration

Who is online

Users browsing this forum: No registered users and 6 guests