LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-16-2012, 01:26 AM   #1
petyabest
LQ Newbie
 
Registered: Apr 2012
Location: Budapest, Hungary
Distribution: Debian
Posts: 6

Rep: Reputation: Disabled
Question Grub error: unknown filesystem after installation


I have an old computer.
(CPU: P II 233 MHz, RAM: 512 MB, DDR2, HDD: 40 GB)

I was installed Debian 6.0 sqeeze without graphical interface successfully. This is the ONLY operating system on the computer.

After reboot I have this message:

Quote:
Grub2 loading.
Welcome to GRUB!

error: unknown filesystem
grub rescue>
I was tried some commands, but nothing works like this.

Quote:
grub rescue> help
help: unknown command.

grub rescue> insmod part_msdos
grub rescue> insmod ext2
grub rescue> ls
(hd0) (hd0,msdos4) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (fd0)

grub rescue> ls (hd0,msdos1)
error: unknown filesystem.

grub rescue> ls (hd0,msdos2)
error: unknown filesystem.

grub rescue> ls (hd0,msdos3)
error: unknown filesystem.

grub rescue> ls (hd0,msdos4)
error: unknown filesystem.

grub rescue> insmod ext3
error: unknown filesystem.

grub rescue>
Ok, google...

I was found lots of issues, but nothing have worked.

I was tried to boot Debian netinst CD in Rescue mode, and changed the /boot/grub/grub.cfg, but nothing has changed!

I tried to test, which line is the bugous line in the config file by this simply method:

I was added this line before the first line in the config:
Quote:
echo "GRUB Config file"
But nothing has changed. It seems that the grub can't load the /boot/grub/grub.cfg from the disk.

After that I tried to run an fsck with -f (force) option, but no errors found.
Tried to detect badblock: # badblocks /dev/sda
...no problems found.

OK, reinstall the GRUB...
Quote:
grub-install /dev/sda
The installation was successfull without any errors, but the problem dosen't fixed.

OK, try to reinstall Debian... (Might be something wrong in the installation???)

The installation successfully, and try to boot the system.
The problem doesn't fixed yet.

Here is my partitioning:
drive part.size mount point filesystem
/dev/sda1 8GB / ext.3
/dev/sda2 20 GB /home ext.3
/dev/sda3 10 GB /www ext.3 (apache document root)
/dev/sda4 2 GB SWAP SWAP

The grub.cfg:
Quote:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

echo "Starting GRUB.cfg ..."

### BEGIN /etc/grub.d/00_header ###
set prefix="(hd0,0)/boot/grub"
set root="(hd0,0)"
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,0)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
set locale_dir=($root)/boot/grub/locale
set lang=C.UTF-8
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-486' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
echo 'Loading Linux 2.6.32-5-486 ...'
linux /boot/vmlinuz-2.6.32-5-486 root=/dev/sda1 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-486
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-486 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
echo 'Loading Linux 2.6.32-5-486 ...'
linux /boot/vmlinuz-2.6.32-5-486 root=/dev/sda1 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-486
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
Any issues?
 
Old 04-16-2012, 01:52 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,148

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Go get bootinfoscript and post the RESULTS.txt. That way we can see what is where as far as grub is concerned.
 
Old 04-16-2012, 02:05 AM   #3
petyabest
LQ Newbie
 
Registered: Apr 2012
Location: Budapest, Hungary
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: Disabled
The bootinfoscript result

This is the bootinfoscript result:

Quote:
Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/boot/grub.

sda1: __________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 6.0
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/lilo.conf
/boot/grub/core.img /boot/map

sda2: __________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sda3: __________________________________________________________________________

File system: ext3
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sda4: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 15,624,191 15,622,144 83 Linux
/dev/sda2 15,624,192 54,687,743 39,063,552 83 Linux
/dev/sda3 54,687,744 74,414,079 19,726,336 83 Linux
/dev/sda4 74,414,080 78,241,791 3,827,712 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 250c1bb4-17db-4c43-aedc-b5fa93231ce2 ext3
/dev/sda2 3cd49745-1565-433a-8fae-f3e8b0f7d291 ext3
/dev/sda3 0ddc6d99-48af-43cb-bbaa-e67b32865e83 ext3
/dev/sda4 8c4baa1b-b837-4828-b3af-25ca103b3482 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda1 / ext3 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda2 /home ext3 (rw,relatime,errors=continue,data=ordered)
/dev/sda3 /www ext3 (rw,relatime,errors=continue,data=ordered)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

echo "Starting GRUB.cfg ..."

### BEGIN /etc/grub.d/00_header ###
set prefix="(hd0,0)/boot/grub"
set root="(hd0,0)"
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,0)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
set locale_dir=($root)/boot/grub/locale
set lang=C.UTF-8
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-486' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
echo 'Loading Linux 2.6.32-5-486 ...'
linux /boot/vmlinuz-2.6.32-5-486 root=/dev/sda1 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-486
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-486 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 250c1bb4-17db-4c43-aedc-b5fa93231ce2
echo 'Loading Linux 2.6.32-5-486 ...'
linux /boot/vmlinuz-2.6.32-5-486 root=/dev/sda1 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-486
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=250c1bb4-17db-4c43-aedc-b5fa93231ce2 / ext3 errors=remount-ro 0 1
# /home was on /dev/sda2 during installation
UUID=3cd49745-1565-433a-8fae-f3e8b0f7d291 /home ext3 defaults 0 2
# /www was on /dev/sda3 during installation
UUID=0ddc6d99-48af-43cb-bbaa-e67b32865e83 /www ext3 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=8c4baa1b-b837-4828-b3af-25ca103b3482 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
--------------------------------------------------------------------------------

============================= sda1/etc/lilo.conf: ==============================

--------------------------------------------------------------------------------
# lilo.conf
#
# Written by Peti
#
boot=/dev/sda
prompt
timeout=150
lba32
compact
vga=normal
root=/dev/sda1
read-only
#
# MENU
#
menu-title='Debian'
image=/boot/vmlinuz-2.6.32-5-486

--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

5.680881500 = 6.099800064 boot/grub/core.img 1
5.713775635 = 6.135119872 boot/grub/grub.cfg 1
1.383388519 = 1.485402112 boot/initrd.img-2.6.32-5-486 6
1.285552979 = 1.380352000 boot/vmlinuz-2.6.32-5-486 2
1.383388519 = 1.485402112 initrd.img 6
1.285552979 = 1.380352000 vmlinuz 2
 
Old 04-16-2012, 08:03 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,148

Rep: Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124Reputation: 4124
Looks sane to me - sorry, nothing obviously wrong jumps out at me.
 
Old 04-16-2012, 12:42 PM   #5
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Yes it looks pretty good.

However I do not like the fact that there is such a thing as /etc/lilo.conf on your system. This could be a problem.

Running, as root;
Code:
apt-get purge lilo
and then;
Code:
update-grub
Code:
grub-install /dev/sda
and trying to boot would be a good idea.

I would use a live CD and chroot in to run them.
 
Old 04-17-2012, 09:40 AM   #6
petyabest
LQ Newbie
 
Registered: Apr 2012
Location: Budapest, Hungary
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: Disabled
I was removed the lilo, and all of the lilo's config files, and reinstalled the grub without any errors, but the problem is still exists.

Is there any other way to start my Debian on my PC?
 
Old 04-17-2012, 01:22 PM   #7
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Better run the boot info script again so we can see if anything else has changed.

My theory is that this is due to an installer foul up. Only one bootloader should have been installed.

This also means that there may be a fault in grub as installed on your system currently.

The Boot info script may give us a clue. The results you posted before showed no problem, just the additional lilo files.

When Ubuntu was introducing Grub2 they tried to let both grub versions co-exist on systems. This worked for most folks. For the ones that it didn't, however, it was a total wreck.

Removing just about every trace of both systems and reinstalling grub2 was the cure. I think you may need to do that.

Before doing so we really should look at the information again and see if there is an alternative.
 
Old 04-20-2012, 02:45 AM   #8
petyabest
LQ Newbie
 
Registered: Apr 2012
Location: Budapest, Hungary
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: Disabled
I think it is a herdweric problem, and tried something...

I found a very old harddisk at my home. (341 MB )
The device is very old, but it works yet.

I was put it to my computer as a master drive, and I was make a new installation with it.
The newly insterted disk mounted to /boot.

NOW:
The grub can recognize the filesystem on the sda1 (The newly inserted disk), and the error message has changed.

Quote:
Grub2 loading.
Welcome to GRUB2!

error: file not found.
grub rescue>ls
(hd0) (hd0,msdos1) (hd1) (hd1,msdos4) (hd1,msdos3) (hd1,msdos2) (hd1,msdos1) (fd0)
grub rescue>ls (hd0,msdos1)/
./ ../ lost+found/ config-2.6.32-5-686 vmlinuz-2.6.32-5-686 grub/ System.map-2.6.32-5-686 initrd.img-2.6.32-5-686
grub rescue>ls (hd1,msdos1)/
error: unknown filesystem.
grub rescue>
Ok, let's start the Debian rescue disk again...

This is the result of the bootinfoscript now:
Quote:
Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/grub.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/boot/grub.

sda1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg /grub/core.img

sdb1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 6.0
Boot files: /etc/fstab

sdb2: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sdb3: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sdb4: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 341 MB, 341299200 bytes
255 heads, 63 sectors/track, 41 cylinders, total 666600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 63 658,664 658,602 83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 2,048 15,624,191 15,622,144 83 Linux
/dev/sdb2 15,624,192 54,687,743 39,063,552 83 Linux
/dev/sdb3 54,687,744 74,414,079 19,726,336 83 Linux
/dev/sdb4 74,414,080 78,241,791 3,827,712 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 2da9c994-719a-46fa-b7f5-20d9c6cd38bd ext4
/dev/sdb1 ca800505-9525-415f-8b24-3e0d2420fb76 ext4
/dev/sdb2 711f9508-6dc1-4bec-9d28-38c9c7504a7e ext4
/dev/sdb3 fc6db51d-84d7-4588-8af9-e56524010ab0 ext4
/dev/sdb4 29c42788-e05d-40ed-a26e-c7a49fc9b96b swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda1 /boot ext4 (rw)
/dev/sda1 /boot ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb1 / ext4 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
/dev/sdb2 /home ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb3 /www ext4 (rw,relatime,barrier=1,data=ordered)


============================= sda1/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
echo "Starting GRUB2 ..."
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set ca800505-9525-415f-8b24-3e0d2420fb76
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 2da9c994-719a-46fa-b7f5-20d9c6cd38bd
set locale_dir=($root)/grub/locale
set lang=hu
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 2da9c994-719a-46fa-b7f5-20d9c6cd38bd
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=ca800505-9525-415f-8b24-3e0d2420fb76 ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 2da9c994-719a-46fa-b7f5-20d9c6cd38bd
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=ca800505-9525-415f-8b24-3e0d2420fb76 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

?? = ?? grub/core.img 1
?? = ?? grub/grub.cfg 1
?? = ?? initrd.img-2.6.32-5-686 1
?? = ?? vmlinuz-2.6.32-5-686 1

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sdb1 during installation
UUID=ca800505-9525-415f-8b24-3e0d2420fb76 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=2da9c994-719a-46fa-b7f5-20d9c6cd38bd /boot ext4 defaults 0 2
# /home was on /dev/sdb2 during installation
UUID=711f9508-6dc1-4bec-9d28-38c9c7504a7e /home ext4 defaults 0 2
# /www was on /dev/sdb3 during installation
UUID=fc6db51d-84d7-4588-8af9-e56524010ab0 /www ext4 defaults 0 2
# swap was on /dev/sdb4 during installation
UUID=29c42788-e05d-40ed-a26e-c7a49fc9b96b none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

?? = ?? initrd.img 1
?? = ?? vmlinuz 1
We can see a problem in the last section of the result:
"sdb1: Location of files loaded by Grub: ..."

The grub tries to load files from the root filesystem, but the Grub can't recognize the filesystem on sdb1 (hd1,msdos1)!!!

But why can't recognize the fs on sdb1?!
We can see that the filesystem is ext4 on the all disc, except the sdb4, where the fs is swap solaris.
The rescue disc, and oter live linuxes are recognize the fs without errors.

Let's try something...

This is the output of command 'fdisk -l':

Quote:
Disk /dev/sda: 341 MB, 341299200 bytes
255 heads, 63 sectors/track, 41 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x35c3d3c5

Device Boot Start End Blocks Id System
/dev/sda1 * 1 41 329301 83 Linux

Disk /dev/sdb: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x4fea2eb9

Device Boot Start End Blocks Id System
/dev/sdb1 1 973 7811072 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdb2 973 3405 19531776 83 Linux
/dev/sdb3 3405 4633 9863168 83 Linux
/dev/sdb4 4633 4871 1913856 82 Linux swap / Solaris
We can see that the /dev/sdb1 partition does not end on cylinder boundary.
This might be problem.

The solution can be resize of the sdb1 partition.

...but how can I calculate that where is the cylinder boundary?
 
Old 04-20-2012, 05:43 AM   #9
petyabest
LQ Newbie
 
Registered: Apr 2012
Location: Budapest, Hungary
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: Disabled
I was started the GParted on the Ubuntu Live CD, and created a new partition table with it.

After that I was make a new Debian installation.

The problem seems solved. All partitions are recognizable for Grub, but there is the next problem:

When the GRUB starting up:
Quote:
Grub2 loading.
Welcome to GRUB2!

error: ELF header smaller than expected.
Entering rescue mode...
grub rescue>
The result of the Bootinfo script is:
Quote:
Boot Info Script 0.61 [1 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/grub.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdb and looks at sector
1 of the same hard drive for core.img. core.img is at this location and
looks in partition 1 for (,msdos1)/boot/grub.

sda1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files: /grub/grub.cfg /grub/core.img

sdb1: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Debian GNU/Linux 6.0
Boot files: /etc/fstab

sdb2: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sdb3: __________________________________________________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:

sdb4: __________________________________________________________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 341 MB, 341299200 bytes
255 heads, 63 sectors/track, 41 cylinders, total 666600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 63 658,664 658,602 83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 40.1 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders, total 78242976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sdb1 63 16,771,859 16,771,797 83 Linux
/dev/sdb2 16,771,860 48,227,129 31,455,270 83 Linux
/dev/sdb3 48,227,130 73,400,984 25,173,855 83 Linux
/dev/sdb4 73,400,985 78,236,549 4,835,565 82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device UUID TYPE LABEL

/dev/sda1 f92be2b9-a6e0-4063-817e-6363355d55fb ext4
/dev/sdb1 c1b5b1af-888d-4425-a21b-ce9f7e789673 ext4
/dev/sdb2 16325159-cae5-458c-81f9-b1a172868bbc ext4
/dev/sdb3 b9cb30bc-6cbd-40af-ae66-b9a0c1a7ebf4 ext4
/dev/sdb4 ae2f05d8-ba2a-437c-99c9-d81ab9ffe2e8 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sda1 /boot ext4 (rw)
/dev/sda1 /boot ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb1 / ext4 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
/dev/sdb2 /home ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb3 /www ext4 (rw,relatime,barrier=1,data=ordered)


============================= sda1/grub/grub.cfg: ==============================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd1,msdos1)'
search --no-floppy --fs-uuid --set c1b5b1af-888d-4425-a21b-ce9f7e789673
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set f92be2b9-a6e0-4063-817e-6363355d55fb
set locale_dir=($root)/grub/locale
set lang=hu
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set f92be2b9-a6e0-4063-817e-6363355d55fb
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=c1b5b1af-888d-4425-a21b-ce9f7e789673 ro quiet
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set f92be2b9-a6e0-4063-817e-6363355d55fb
echo 'Loading Linux 2.6.32-5-686 ...'
linux /vmlinuz-2.6.32-5-686 root=UUID=c1b5b1af-888d-4425-a21b-ce9f7e789673 ro single
echo 'Loading initial ramdisk ...'
initrd /initrd.img-2.6.32-5-686
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

?? = ?? grub/core.img 1
?? = ?? grub/grub.cfg 1
?? = ?? initrd.img-2.6.32-5-686 1
?? = ?? vmlinuz-2.6.32-5-686 1

=============================== sdb1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sdb1 during installation
UUID=c1b5b1af-888d-4425-a21b-ce9f7e789673 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=f92be2b9-a6e0-4063-817e-6363355d55fb /boot ext4 defaults 0 2
# /home was on /dev/sdb2 during installation
UUID=16325159-cae5-458c-81f9-b1a172868bbc /home ext4 defaults 0 2
# /www was on /dev/sdb3 during installation
UUID=b9cb30bc-6cbd-40af-ae66-b9a0c1a7ebf4 /www ext4 defaults 0 2
# swap was on /dev/sdb4 during installation
UUID=ae2f05d8-ba2a-437c-99c9-d81ab9ffe2e8 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

?? = ?? initrd.img 1
?? = ?? vmlinuz 1
Any solution?
 
Old 04-20-2012, 01:57 PM   #10
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
I think your approach is really interesting. That is a very small HDD, surprised the install fits.

I am a little concerned about that as you should have the grub.cfg file for sdb1 also in the results from the boot info script.

Here are "symbolic" menu entries for your installs.
Code:
echo "Adding Debian on sda1" >&2 
cat << EOF
menuentry "Debian on sda1" {
    set root=(hd0,1)
        linux /vmlinuz root=/dev/sda1 ro quiet
        initrd /initrd.img
}
EOF

echo "Adding Debian2 on sdb1" >&2 
cat << EOF
menuentry "Debian2 on sdb1" {
    set root=(hd1,1)
        linux /vmlinuz root=/dev/sdb1 ro quiet
        initrd /initrd.img
}
EOF
These will attempt to boot ANY Debian based OS that is on the defined partition to the newest kernel on that partition. You need to add them to the /etc/grub.d/40_custom file and save it and then run, as root;
Code:
update-grub
I would be happier if we were using the grub from sdb1 (installed to the MBR of sda) but lets just try it on the sda1 install as it is already trying to work.

If it doesn't work try it with the install on sdb1 and install that grub on the sda MBR (grub-install /dev/sda).

If you have had Ubuntu installed on this computer before I don't see that this can be a hardware problem but one never knows for sure. I still think this is some installer error.

That is an old computer though so it could be just too old for this. You have booted the install disk and Ubuntu LiveCD on it, though, so I think it should run.

There is the package "grub-legacy" in the Debian Squeeze repo. This is the old Grub version. You could try it also. To do that you need to completely purge your current grub, as root;
Code:
apt-get purge grub-pc grub-common
and install
Code:
apt-get install grub-legacy grub-common
You are using the same "grub-common" package with either version of grub but you have to purge it and reinstall for the different versions of grub to communicate with it properly.

If this is a hardware based problem it has to be related to grub-pc, I think. Grub-legacy may do the trick.

If not you could purge grub completely and make sure all directories and files are gone (/boot/grub, /etc/default/grub and /etc/grub.d) and install lilo which is even older and surely should be compatible with your hardware.

I don't know a thing about using lilo but I am sure there is documentation.
 
1 members found this post helpful.
Old 04-25-2012, 05:55 PM   #11
Aviopene
LQ Newbie
 
Registered: Apr 2012
Location: Italy
Distribution: Gentoo
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by petyabest View Post
We can see that the /dev/sdb1 partition does not end on cylinder boundary.
This might be problem.

The solution can be resize of the sdb1 partition.

...but how can I calculate that where is the cylinder boundary?
Hi petyabest,

I have the same problem, my freshly installed Precise Pangoline on USB drive refuses to boot. Grub2 simply says "unknown filesystem" on the linux partition in the drive, even if
it's mountable without errors (I'm running a fsck just now to be sure, but I suspect it won't solve the problem).

Code:
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 testine, 63 settori/tracce, 60801 cilindri, totale 976773168 settori
Unità = settori di 1 * 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identificativo disco: 0x45144a76

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sdb1              63    40965749    20482843+   7  HPFS/NTFS/exFAT
/dev/sdb2        40965750   409593239   184313745    c  W95 FAT32 (LBA)
/dev/sdb3   *   409593240   976768064   283587412+  83  Linux
As can be seen, my partition doesn't cross any cylinder boundary, and if I test my grub configuration in qemu, with this:

Code:
sync ; echo 3 > /proc/sys/vm/drop_caches ; qemu-system-i386 -hda /dev/sdb
grub works perfectly and its normal screen shows up. Then, I suspected than it could have been the bios. So I tested this on two different machines (a very old laptop and a normal, quite recent, pc) with exactly the same result. In the end, I have no answers for this behavior and I'm very disappointed with grub2. I simply can't accept the fact that it's not able to recognize a standard ext3 partition in 2010. I'd have expected this by windows, but not by grub...

Regards
Avio
 
Old 04-25-2012, 09:19 PM   #12
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
This may be or may not be a grub-pc problem.

I think it is an install problem with the Ubuntu installer. This could be wrong but there is supposed to be a major overhaul of ubiquity during the 12.10 dev cycle.

I do not have a usb stick. I know, I am a grumpy geezer and should get one.

I do have a usb drive. Dual Sata external enclosure. Have no trouble booting from it under Xubuntu 12.04 (will be off of here Friday) or any of the Debian installs on there or the 2 Xenix installs on there.

What happens if you turn off your other drives when you try to boot from the usb device?

Is grub for the usb device installed on your primary drive? That would be your internal sda drive. This is a grub-pc problem. If you can boot to the thing with the othe drives turned off (I can do that in my bios) try installing the grub from your usb device on the sda internal.

If you use the box with out the usb stick you can put what ever other grub you normally use back on there in chroot before leaving the usb installed OS.

If you use MS on the internal you will have to use testdisk, the MS install disk or some other tool. Don't know for sure what they would be. Don't think anyone needs to boot to MS anyway.

The song and dance about the overlapping partition table is not the problem. If you use gparted to partition your drive with several installes cfdisk will not open because of that very problem. Grub does not care as long as it is pointed to the correct partition.
 
Old 04-30-2012, 06:56 AM   #13
petyabest
LQ Newbie
 
Registered: Apr 2012
Location: Budapest, Hungary
Distribution: Debian
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you widget for your help!

Your answer (#10) is works!
 
Old 04-30-2012, 12:38 PM   #14
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
That is good to hear.
 
Old 05-01-2012, 10:13 AM   #15
Aviopene
LQ Newbie
 
Registered: Apr 2012
Location: Italy
Distribution: Gentoo
Posts: 4

Rep: Reputation: Disabled
Sorry for the late reply, I tried some of your suggestions.

Quote:
Originally Posted by widget View Post
This may be or may not be a grub-pc problem.
I don't know, the USB hdd I'm talking about is a Western Digital MyPassport Essential (http://reviewholes.com/wp-content/up...-Essential.jpg) and, if I remember correctly, the old grub (now grub-legacy) was able to boot it correctly.

Quote:
Originally Posted by widget View Post
I think it is an install problem with the Ubuntu installer. This could be wrong but there is supposed to be a major overhaul of ubiquity during the 12.10 dev cycle.
Not sure about that neither. I tryed to make this drive bootable before and got stuck at this point also with (at least one) previous releases of grub2.

Quote:
Originally Posted by widget View Post
I do not have a usb stick. I know, I am a grumpy geezer and should get one.
I have many USB sticks. Most of them have syslinux + Knoppix over them and they boot fine on any machine. A few of them have grub4dos + lots of ISOs and they also boot fine (if you defrag the ISOs so that they can be mmapped).

Quote:
Originally Posted by widget View Post
I do have a usb drive. Dual Sata external enclosure. Have no trouble booting from it under Xubuntu 12.04 (will be off of here Friday) or any of the Debian installs on there or the 2 Xenix installs on there.
With grub2? Lucky you...

Quote:
Originally Posted by widget View Post
What happens if you turn off your other drives when you try to boot from the usb device?
If I turn off the internal hdd from bios and I try to boot from USB, the boot stops as usual with an "unknown filesystem" error. Within the grub rescue console, all three the USB partitions are reported as "unknown filesystem". However, surprisingly, if I type "ls" within the console, also the internal hdd shows up. And if I set the grub prefix to the internal hdd, grub2 starts correctly and its normal screen shows up. Finally, even in this "normal" configuration the USB hdd's third partition (the ext3 one) is still marked as "unknown filesystem", while both the FAT and the NTFS partitions are recognized correctly.

Quote:
Originally Posted by widget View Post
Is grub for the usb device installed on your primary drive? That would be your internal sda drive. This is a grub-pc problem. If you can boot to the thing with the othe drives turned off (I can do that in my bios) try installing the grub from your usb device on the sda internal.
I have a grub2 installed both on the internal hdd MBR and in the USB drive MBR. However, while the one in the internal hdd boots correctly, there is no way to complete the boot sequence on the USB disk. The ext3 partition is always marked as "unknown filesystem", no matter what I do.

Quote:
Originally Posted by widget View Post
If you use the box with out the usb stick you can put what ever other grub you normally use back on there in chroot before leaving the usb installed OS.
No, I only managed to do the opposite. Boot with the internal hdd and then chroot to the USB installation. Grub2 installs correctly, no errors reported, but the result is always the same.

Quote:
Originally Posted by widget View Post
If you use MS on the internal you will have to use testdisk, the MS install disk or some other tool. Don't know for sure what they would be. Don't think anyone needs to boot to MS anyway.
I have a old WinXP installation on the internal hdd that boots through grub2, so there's no news here.

Quote:
Originally Posted by widget View Post
The song and dance about the overlapping partition table is not the problem. If you use gparted to partition your drive with several installes cfdisk will not open because of that very problem. Grub does not care as long as it is pointed to the correct partition.
I agree, I don't remember to have had problems with out-of-boundary partitions. However I don't see a solution for my problem. For some reason my USB drive is not read correctly by grub2. I think that a downgrade to grub-legacy is the only solution to have this drive bootable again.

As a side-note, I also had problems with the graphical part of grub2. On my main machine, a gentoo installation on top of a recent PC, grub2 isn't able to go into graphical mode. I tryed almost everything to fix it, to no avail. This makes me think that grub2 has still some bug to correct before it can be considered as reliable as grub-legacy.

Regards
Avio
 
  


Reply



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
Grub: Unknown filesystem error syco__ Linux - Newbie 2 03-18-2012 01:01 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 PM
GRUB error: Unknown Filesystem hagel Linux - Newbie 6 03-24-2011 01:02 AM
Grub error: unknown filesystem LydonZA Linux - Newbie 6 05-27-2010 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration