You are not logged in.

#1 2013-06-15 04:46:33

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Error while booting after fresh install

Hi, I decided to reinstall Arch on my laptop. So I first used gcdisk to make my partitions, I have 4 (/ , boot, home, var). I made sure to make a fifth partition of 2mb for bios booting with grub at the beginning of my disk. I chose jfs filesystem for all partitions except var I chose reiserfs.
I mounted everything, installed base and base-devel, grub following the wiki, generated fstab, etc. Then when I reboot I get the error : error 'grub.pc/i386/search_fs_uuid.mod' not found. I tried reinstalling everything twice.

I thought maybe I was doing something wrong with GPT so I used MBR this time, re-did the full installation and same problem. I read the grub wiki and did everything it says. I'm not doing dual-boot.

any suggestions? thank you

PS: After booting it brings me to maintenance terminal.

Offline

#2 2013-06-15 05:29:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Error while booting after fresh install

I think the significant portion of what you did has to do with the error message itself.  Ergo, instead of reinstalling everything over and over again, debug grub.  I think you need to do better than "I read the grub wiki and did everything it says" in how you ask your quesiton.  What exactly did you do? 

BTW, i really do not like grub2 as it has become particurly crazy bloated (as exemplified by the need for a 1-2MB partition in addition to the space in the disk's boot sector).  So I try to encourage others to use something simpler that allows more user control over configuration.  I like syslinux, but grub-legacy or lilo are good choices as well.

Offline

#3 2013-06-15 08:59:23

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 331

Re: Error while booting after fresh install

'grub.pc/i386/search_fs_uuid.mod'

Is this a typo? As in it should have been '/grub/i386-pc/search_fs_uuid.mod'?

Online

#4 2013-06-15 12:42:45

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Error while booting after fresh install

No it is a relative path.  Do "pacman -Ql grub-bios | grep uuid".

Offline

#5 2013-06-15 13:30:55

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: Error while booting after fresh install

henk wrote:
'grub.pc/i386/search_fs_uuid.mod'

Is this a typo? As in it should have been '/grub/i386-pc/search_fs_uuid.mod'?

Ooops it might have been a typo sorry.

WonderWoofy wrote:

I think the significant portion of what you did has to do with the error message itself.  Ergo, instead of reinstalling everything over and over again, debug grub.  I think you need to do better than "I read the grub wiki and did everything it says" in how you ask your quesiton.  What exactly did you do?
BTW, i really do not like grub2 as it has become particurly crazy bloated (as exemplified by the need for a 1-2MB partition in addition to the space in the disk's boot sector).  So I try to encourage others to use something simpler that allows more user control over configuration.  I like syslinux, but grub-legacy or lilo are good choices as well.

I had grub2 installed before so that's why I chose it. Also on the syslinux wiki it doesn't say it supports jfs filesystem, which is why I chose grub2.
Is there a way to install the missing path with pacman?

edit: Also when I check in /boot/grub/i386-pc/ I can see the search_fs_uuid.mod

Last edited by trixrabbit (2013-06-15 13:35:31)

Offline

#6 2013-06-15 13:40:46

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 331

Re: Error while booting after fresh install

% sudo pacman -Ql grub-bios | grep uuid
[sudo] password for henk: 
grub-bios /usr/lib/grub/i386-pc/search_fs_uuid.mod
grub-bios /usr/lib/grub/i386-pc/xnu_uuid.mod

Still puzzled about 'grub.pc/i386/..... though

Sorry missed the post of trixrabbit

You could do what Wonderwoofy suggested, debug grub

grub-install --target=i386-pc --recheck --debug /dev/sd*

EDIT2: fixed my typo

Last edited by henk (2013-06-15 14:13:02)

Online

#7 2013-06-15 18:23:00

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: Error while booting after fresh install

I just did

grub-install --target=i386-pc --recheck --debug /dev/sd*

no error detected, everything seems fine btu still after I unmount everything and reboot I get the same error and it logs me in emergency mode a bit after.

I followed this video : http://www.youtube.com/watch?annotation … QFzVG4wZEg
instead of the guide this time. Only difference I did are the filesystem I chose and it still doesn't work. When I boot my system I see the bootloader menu, I can choose between 2. The normal one and one with (initramfs).

Last edited by trixrabbit (2013-06-15 18:26:29)

Offline

#8 2013-06-15 21:03:44

trixrabbit
Member
Registered: 2012-11-27
Posts: 100

Re: Error while booting after fresh install

Little update : It's working now but I used only 2 partitions (boot and root) I read that separating partitions for var and home was a bit faster and easier to recover in case of trouble but whatever now. I also used ext4 and syslinux instead. I needed my computer asap so I will use that for now. thank you for the help, I'd still like to know why it wasn't working previously..

Offline

#9 2014-01-25 17:52:17

lucj
Member
Registered: 2014-01-25
Posts: 1

Re: Error while booting after fresh install

This seems a bit of an old thread so sorry for this, but I ran into this problem today on a fresh install with archlinux 2014.01.05.
So "/usr/lib/grub/i386-pc/search_fs_uuid.mod not found", in my case when booting into a Windows partition.

I solved this by removing the two lines that use search_fs_uuid.mod :

	insmod search_fs_uuid
	search --fs-uuid --set=root [...]

And thus replaced by pointing manually to the right partition (e.g. for /dev/sda3 :)

	set root="(hd0,3)"

So my full menuentry in /etc/grub.d/40_custom would be

menuentry "Microsoft Windows 7 x86_64 BIOS-MBR manual set root" {
	set root="(hd0,3)"
	insmod part_msdos
	insmod ntfs
	insmod ntldr
	ntldr /bootmgr
}

Last edited by lucj (2014-01-25 17:53:15)

Offline

#10 2014-01-25 18:19:09

null
Member
Registered: 2009-05-06
Posts: 265

Re: Error while booting after fresh install

If you have /dev/sda3 this would be (hd0,2) in grub (because sda1 would be hd0,0).


⚑★⚓ my dotfile repo ⚓★⚑

Offline

Board footer

Powered by FluxBB