LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-13-2011, 12:05 PM   #1
cusco
LQ Newbie
 
Registered: Mar 2005
Location: Portugal
Distribution: Debian
Posts: 15

Rep: Reputation: 0
cannot install grub (grub-probe says 'unknown fs' with ext4 and md raid)


Hi.

I'm sorry if Im not posting in the right section, I was not sure between here and 'Debian' section.

I installed Debian squeeze (when it was still testing) the same way. Partitioned two disks with raid, and them md raid partitions with ext4.

Now Im trying the same, but each disk is 1TB (dunno if size can make a difference).

-

Basically grub-install always fails with the grub-probe command:

Code:
root@e-mail:~# /usr/sbin/grub-probe --device-map=/boot/grub/device.map --target=fs -v /boot/grub
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd0 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: the size of hd1 is 1953525168.
/usr/sbin/grub-probe: info: changing current directory to /dev.
/usr/sbin/grub-probe: info: changing current directory to mapper.
/usr/sbin/grub-probe: info: opening md/0.
/usr/sbin/grub-probe: error: unknown filesystem.

What should I do?


Thanks in advance
 
Old 03-14-2011, 10:56 AM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
I think grub2 can sometimes have problems with ext4. My solution was to create a 100MB partition formated ext3 and put /boot there.
 
Old 03-14-2011, 12:52 PM   #3
cusco
LQ Newbie
 
Registered: Mar 2005
Location: Portugal
Distribution: Debian
Posts: 15

Original Poster
Rep: Reputation: 0
Hi.

I just fixed my issue. Aparently I needed a /boot in a partition smaller than 1TB

I made a md raid partition 1G for /boot (yes I know 100M was enough) and I can boot now

Thanks
 
Old 03-15-2011, 01:58 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,644

Rep: Reputation: Disabled
Glad you could solve it yourself. Please mark this thread as [SOLVED] with the thread tools in the top so others may see easier that this thread has a solution. Cheers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
[SOLVED] grub .97 and ext4 vendtagain Linux - Newbie 1 01-06-2010 04:25 PM
Suse 10.3 install failed grub filesystem type unknown susecreamcheese Suse/Novell 7 10-19-2007 04:09 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
grub install unknown partition table signature imranakbar Linux - Hardware 1 10-31-2004 01:30 AM


All times are GMT -5. The time now is 06:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration