You are not logged in.

#1 2022-10-25 03:30:02

atlanticat
Member
Registered: 2022-10-25
Posts: 4

GRUB not booting right disk

After installing Arch 32 bit, when I turn the machine back on it loads into /dev/sda when I installed the operating system on /dev/sdb.
Is there a way I can tell GRUB to boot off /dev/sdb instead of a blank /dev/sda? When I was installing Arch, /dev/sda was the installation USB.

Offline

#2 2022-10-25 04:45:09

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,032
Website

Re: GRUB not booting right disk

The boot order is something you set in the BIOS, there you say, where the MBR (master boot record) of which disk should be loaded first.
Grub then has a BIOS drive map which maps BIOS devices to (hd0), (hd1). Those hdX are used to specify, where it should expect it's stuff.
I suspect that you have something enabled like "prefer USB disks" in the BIOS (assuming /dev/sdb is not a USB disk).

Offline

#3 2022-10-26 05:38:06

atlanticat
Member
Registered: 2022-10-25
Posts: 4

Re: GRUB not booting right disk

This is what I get when i do fdisk -l

Disk /dev/sda: 57.63GiB
Device
/dev/sda1 * 64 14202879 1402816 685M 17 Hidden HPFS/NTFS

Disk /sdb
Device
/dev/sdb1 <-- I install the OS on here but it boots on /dev/sda

Offline

#4 2022-10-26 06:42:10

atlanticat
Member
Registered: 2022-10-25
Posts: 4

Re: GRUB not booting right disk

I put the USB that will receive the OS on the top port, and the installation USB on the bottom port.
I installed it on /dev/sda and it's still stuck on...

Starting version 251.2-1.0-arch
/dev/sda3: clean 125695/7708672 files, 1671605/30803516 blocks

Offline

#5 2022-10-26 08:50:19

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: GRUB not booting right disk

At least it seems to be booting the right drive now, and it's loaded the kernel.  It it really is stopping there and not just taking a little time to fsck another drive as it's loading, I suspect your /opt/fstab might be buggy.

Last edited by levi (2022-10-26 08:51:21)


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

Board footer

Powered by FluxBB