The officially official Devuan Forum!

You are not logged in.

#1 2024-05-03 09:51:20

sonichy
Member
Registered: 2023-08-17
Posts: 9  

[SOLVED] Add disk can not boot

Offline

#2 2024-05-03 10:50:49

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,446  

Re: [SOLVED] Add disk can not boot

/dev/sda4 does not exist

First thing to try - Go into bios and change the boot order of the hard disks. That might work.

Maybe a better solution is to unplug the new disk, reboot and edit /etc/fstab to use UUID instead of device names.

Offline

#3 2024-05-06 01:26:48

sonichy
Member
Registered: 2023-08-17
Posts: 9  

Re: [SOLVED] Add disk can not boot

/boot/grub/grub.cfg
linux /vmlinuz root=/dev/sda4
Change to:
linux /vmlinuz root=UUID=*

Offline

#4 2024-05-06 11:17:46

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,446  

Re: [SOLVED] Add disk can not boot

Check /etc/default/grub to make sure that UUID is not disabled for update-grub. The line should be commented like this:

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

Offline

Board footer