You are not logged in.

#1 2013-01-10 14:22:54

Torxed
Member
Registered: 2013-01-10
Posts: 125

[Solved] New install (grub+reiserfs): error: unknown filesystem

Booting up after a fresh install, i get:

error: unknown filesystem.
grub rescue> _

Followed instructions: https://wiki.archlinux.org/index.php/Installation_Guide



Solution
Forgot to run grub-install /dev/sda
Had a GRUB from a previous installed in the MBR


fdisk -l
/dev/sda1       swap (82)
/dev/sda2   *   5GB Linux (83)
/dev/sda3       100GB Linux (83)


mkfs.reiserfs /dev/sda2
mkfs.reiserfs /dev/sda3

cat /etc/grub/grub.cfg

insmod part_gpt
... standard stuff ...

menuentry 'Arch...' --class arch --class gnu-liux --class gnu --class os .... {
    load video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod reiserfs
    set root=(hd0,2)
    linux /boot/vmlinuz-linux root=UUID=84.... ro  quiet
    initrd /boot/initramfs-linux.img
}

Generated via grub-mkconfig -o /boot/grub/grub.cfg
Changed (after unsuccessful boot) from root=(hd0,msdos2) to the above.


Ran the installation guide commands one by one, no errors and the system's fine.
I can mount /dev/sda2 and 3 via the USB drive i installed from and i can place files there.. Grub just can't load it?


I'm in a real hurry and a pickle with a deadline and i'm stuck with this laptop and got nothing else to work on and i'm faar from home and just need to get this working asap so i'm posting here instead of googling for 5 days on how to solve this, i've googled a lot already but can't find any solutions :S

Booting i noticed in the Grub rescue something about root=(hd0,3)

Last edited by Torxed (2013-01-10 20:13:49)

Offline

#2 2013-01-10 14:49:40

Torxed
Member
Registered: 2013-01-10
Posts: 125

Re: [Solved] New install (grub+reiserfs): error: unknown filesystem

I think i found the cause.
It's from a previous linux dist which installed Grub in the MBR which, arch linux doesn't? o0

How can i, without to much fuzz, boot the USB stick and install the new grub config to the MBR and replace the old?


Old is GRUB and Arch uses GRUB2?

Offline

#3 2013-01-10 14:53:34

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,991
Website

Re: [Solved] New install (grub+reiserfs): error: unknown filesystem

Torxed wrote:

... installed Grub in the MBR which, arch linux doesn't

No.  Arch doesn't do anything for you.  But you should as outlined in the grub wiki.

Have you installed grub-bios and ran grub-install?


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#4 2013-01-10 14:56:50

Torxed
Member
Registered: 2013-01-10
Posts: 125

Re: [Solved] New install (grub+reiserfs): error: unknown filesystem

forgot to run grub-install /dev/sda

Solved just as you wrote it.
Forgot that grub-install isn't a Ubuntu specific command, it's a grub specific command smile

(I come from a BSD background and i got lazy from Ubuntu so i thought Arch was harder than it is).

Last edited by Torxed (2013-01-10 14:57:08)

Offline

#5 2013-01-10 16:20:40

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

Re: [Solved] New install (grub+reiserfs): error: unknown filesystem

Torxed, please mark your post as solved and use [ code ] tags [ /code ] (without the spaces).

Marking solved can be done by editng the first post and prepending [Solved] to the title.

Offline

#6 2013-01-10 20:12:06

Torxed
Member
Registered: 2013-01-10
Posts: 125

Re: [Solved] New install (grub+reiserfs): error: unknown filesystem

Will do, sorry for not using the [ code ] tags, first i was on a phone writing and then on a macbook (was reinstalling my nix laptop... you can imagine that the security code for registering here was horrific using a phone...)

Offline

Board footer

Powered by FluxBB