You are not logged in.

#1 2020-02-29 21:16:09

Registered: 2017-05-21
Posts: 43

[RESOLVED] inconsistent fdisk and grub rescue information

I went through the installation process and reached the point where I rebooted. When rebootting the process when into grub rescue.

While in grub rescue, I entered ls and was surprised to see the listing for my hard drive showed 3 ext2 partitions that had MSDOS names. I'm sorry, but I did not capture the exact output.

When I was setting up my installation, I had set up 2 partitions, the root partition and the swap partition, both ext4 formatted. There is an  existing 3rd partition that is also an ext4 partition, that will be mounted as /home when the system comes up. These all show up as expected when I run: fdisk -l.

The grub rescue results seem weird to me, although this PC is a 2nd hand laptop and I'm fairly sure Windows was on the system when I originally purchased it.

I'm curious about why ext2 partitions are showing up, but my real question is how do I get my linux partitions to be recognized so that the boot process works properly?

Jim A.

I am not sure it is needed, but below is my installation log.  As far as I could tell everything ran successfully.

ip link
ip address add broadcast + dev eno1
ip route show – verify that is the default router
fdisk -l  and note that the needed file systems are in place
mkfs.ext4 /dev/sda1 (the root file system)
mkswap /dev/sda5
swapon /dev/sda5
mount -t ext4 /dev/sda1 /mnt
pacstrap /mnt base linux linux-firmware  > pacstrap.out 2>&1
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
hwclock --systohc
run “date” and verify the time is EST and is correct.
Uncomment en_US.UTF-8 UTF-8
run 'locale-gen'
create the file '/etc/locale.conf' with LANG=en_US.UTF-8 in it
create /etc/hostname with 'koufax' as its entry.
create /etc/hosts
set root passwd
verify that the Dell laptop uses an intel processor (it does).
pacman -S intel-ucode
pacman -S grub
grub-install --target=i386-pc /dev/sda1
grub-mkconfig -o /boot/grub/grub.cfg

Last edited by jjanderson5 (2020-03-01 12:47:46)


#2 2020-02-29 21:23:14

Registered: 2013-11-15
Posts: 907

Re: [RESOLVED] inconsistent fdisk and grub rescue information

grub install should technically be /dev/sda not /dev/sda1

grub rescue means it couldn't find its files (everything under /boot/grub/), if this issue persists please show outputs of parted -l or fdisk -l, and whatever grub rescue itself said (photo is ok here)

grub rescue is very limited in capability so its output looking a little weird it can be normal


#3 2020-03-01 12:47:18

Registered: 2017-05-21
Posts: 43

Re: [RESOLVED] inconsistent fdisk and grub rescue information


Yes, that did it.  That was a dumb mistake, but so easy to do.

Thanks for being that 2nd pair of eyes!



Board footer

Powered by FluxBB