Bug#514263: thinks that my ext2 root filesystem is fat

Joey Hess joeyh at debian.org
Thu Feb 5 19:19:19 UTC 2009


Package: grub-pc
Version: 1.96+20080724-14
Severity: normal

When I chainload into grub 2 from grub, it fails to show a menu,
I think it said file not found.

If I type root or root (hd0,1), it says "FAT filesystem",
and ls fails to show any files.

This laptop is a dell mini 9, the only disk is a SSD, which
is partitioned as follows:

Command (m for help): p

Disk /dev/hda: 30.8 GB, 30816608256 bytes
255 heads, 63 sectors/track, 3746 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x010fc343

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        3746    30089713+  83  Linux

The filesystem is formatted ext2.

root at gnu:/home/joey>file -s /dev/hda1
/dev/hda1: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=76063b7a-7534-4a51-92d9-62b685cf4d48, volume name "gnu-root"

I don't know why it says this is FAT.. 

Grub 1 boots fine.


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/hda1 / ext2 rw,errors=remount-ro 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/hda
(hd1)	/dev/mmcblk0
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
search --fs-uuid --set d807-071d
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set root=(hd0,1)
search --fs-uuid --set d807-071d
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/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_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, linux 2.6.28-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set d807-071d
	linux	/boot/vmlinuz-2.6.28-1-686 root=/dev/hda1 ro  
	initrd	/boot/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.28-1-686 (single-user mode)" {
	set root=(hd0,1)
	search --fs-uuid --set d807-071d
	linux	/boot/vmlinuz-2.6.28-1-686 root=/dev/hda1 ro single 
	initrd	/boot/initrd.img-2.6.28-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.27-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set d807-071d
	linux	/boot/vmlinuz-2.6.27-1-686 root=/dev/hda1 ro  
	initrd	/boot/initrd.img-2.6.27-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.27-1-686 (single-user mode)" {
	set root=(hd0,1)
	search --fs-uuid --set d807-071d
	linux	/boot/vmlinuz-2.6.27-1-686 root=/dev/hda1 ro single 
	initrd	/boot/initrd.img-2.6.27-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686" {
	set root=(hd0,1)
	search --fs-uuid --set d807-071d
	linux	/boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro  
	initrd	/boot/initrd.img-2.6.26-1-686
}
menuentry "Debian GNU/Linux, linux 2.6.26-1-686 (single-user mode)" {
	set root=(hd0,1)
	search --fs-uuid --set d807-071d
	linux	/boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro single 
	initrd	/boot/initrd.img-2.6.26-1-686
}
### END /etc/grub.d/10_linux ###

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

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]   1.5.24           Debian configuration management sy
ii  grub-common             1.96+20080724-14 GRand Unified Bootloader, version 
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  liblzo2-2               2.03-1           data compression library
ii  libncurses5             5.7+20090124-1   shared libraries for terminal hand

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.3      common files for the Debian Deskto
pn  os-prober                     <none>     (no description available)

-- debconf information:
* grub-pc/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true

-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090205/0055d8a6/attachment-0001.pgp 


More information about the Pkg-grub-devel mailing list