You are not logged in.
Pages: 1
Long story short, I recently had a system crash, which has resulted in some very weird behaviour with grub depending on which disks are plugged in.
My system has the following disks.
/dev/sda - Root partition 60 GB (GPT)
/dev/sdb - Data partition 500 GB (MBR)
/dev/sdc - Data partition 500 GB (MBR)
/dev/sdd - Data partition 2 TB (GPT)with Grub installed to /dev/sdb.
After the system crash, grub did not load. I tried reinstalling it to no avail, and ended up installing it to a thumb drive since I was in a hurry, which solved the problem.
However, I would like to remove the thumb disk from the equation and install grub to one of the disks and discovered a weird behaviour. Using ls from Grub command line, the following disks are shown:
(hd0) -> Thumb drive
(hd1) -> /dev/sdd
(hd2) -> /dev/sdaIf I use ls directly on the missing disks, ls (hd3) , they are both shown, after processing the command for quite a while, as drives with a total size of 8217247.5 KiB.
To make things even weirder. If I unplug /dev/sdd h booting, the three remaining drives and the thumb stick are shown correctly.
In both cases, once the system is booted, all disks are available and I have not noticed any other issues, but I would really like to know why this is happening.
Anybody got any idea what could be causing this, or can spot something I'm missing?
Last edited by Arctus (2015-11-25 22:38:51)
Offline
When you did install, how did you mount sdb, sdc, sdd. Normally w/o /boot partition, it would instal grub to / partition, this case would be sda.
Also can you tell how did you install Arch Linux also. More info easy to help.
Offline
Do you use an EFI or BIOS system?
The former case might be a reason for the GPT disks not working properly, since the Wiki [0] states that GPT is "highly recommended" for installing GRUB on EFI systems.
In that case I would recommend installing GRUB simply on one of the other disks, which might necessitate setting up a new EFI parition.
In the latter case, a BIOS system, I can only assume the big size of /dev/sdd being a problem for some reason.
As a workaround, I would install GRUB to either /dev/sda or /dev/sdd since those are seen on boot.
Since a installation on a GPT disk on a BIOS system is a little unusual, you might want to follow the Wiki [1].
[0] https://wiki.archlinux.org/index.php/GR … and_an_ESP
[1] https://wiki.archlinux.org/index.php/GR … structions
Offline
Installed about 5 years ago technically, although most of the hardware has changed since. sdb is the original hard drive, which is why grub resided on it.
All disks are mounted with fstab, and the partitions are ext4, except for the thumb drive. There was no boot partition before the crash, the boot folder resided on sda1, but Grub was installed to sdb.
Installed via the old installer, back when you had to configure rc.conf and other files. The system itself is rock solid when booted, except for the single crash which caused this.
The system is BIOS. I tried to install grub to either sda or sdd, can't remember which one at the moment, but was unable to due to GPT. I will look into shrinking sda1 and adding a BIOS partition this weekend.
Last edited by Arctus (2015-11-27 16:29:21)
Offline
This case with /boot partition, grub will install that drive.
Offline
Pages: 1