bugGNU GRUB - Bugs: bug #28807, grub2 can't see my linux kernel...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #28807: grub2 can't see my linux kernel file

Submitted by:  Jaime <jaimet>
Submitted on:  Thu 04 Feb 2010 12:50:54 PM UTC  
 
Category: FilesystemSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: Need InfoPrivacy: Public
Assigned to: NoneOriginator Name: Jaime
Open/Closed: ClosedRelease: 
Release: 1.97Reproducibility: Every Time
Planned Release: None

Tue 23 Feb 2010 12:48:00 PM UTC, comment #3:

Hi,

I zero'ed out the entire drive (dd if=/dev/zero of=/dev/hdc) and repartitioned, and now the problem does not happen. I assume it was some strange partition table bug / filesystem bug, but I'm not sure. Anyway, I'm closing this bug now, since it does not happen any more.

Thank you,

Jaime

Jaime <jaimet>
Thu 11 Feb 2010 12:59:14 PM UTC, comment #2:

The filesystem is ext2. Here are the results of grub-fstest:

# ./grub-fstest /dev/sda ls
(loop0) (loop0,6) (loop0,5) (loop0,3) (loop0,2) (loop0,1) (host)

# ./grub-fstest /dev/sda ls '(loop0,6)'
Partition loop0,6: Filesystem type ext2, Last modification time 2010-02-04 07:04:15 Thursday, UUID 84b34ca9-d870-44c2-8809-2e43c782c51e

# ./grub-fstest /dev/sda ls '(loop0,6)/'
lost+found/ var/ etc/ media/ initrd.img lib/ usr/ home/ dev/ proc/ bin/ boot/ mnt/ root/ tmp/ sbin/ selinux/ sys/ srv/ opt/ vmlinuz

# ./grub-fstest /dev/sda ls '(loop0,6)/boot'
grub/ vmlinuz-2.6.26-2-686 config-2.6.26-2-686 System.map-2.6.26-2-686 initrd.img-2.6.26-2-686

# ./grub-fstest /dev/sda6 ls
(loop0) (host)

# ./grub-fstest /dev/sda6 ls '/'
lost+found/ var/ etc/ media/ initrd.img lib/ usr/ home/ dev/ proc/ bin/ boot/ mnt/ root/ tmp/ sbin/ selinux/ sys/ srv/ opt/ vmlinuz

# ./grub-fstest /dev/sda6 ls '/boot/'
grub/ vmlinuz-2.6.26-2-686 config-2.6.26-2-686 System.map-2.6.26-2-686 initrd.img-2.6.26-2-686

I think that this means that grub-fstest is OK. When I boot up into the grub bootloader and I tab-complete to the appropriate directory, the grub bootloader thinks that the directory is empty:

sh:grub> linux (ata0,6)/boot/ (tab complete)
sh:grub> linux (ata0,6)/boot/ (tab complete)
sh:grub> linux (ata0,6)/boot/ (tab complete)
sh:grub> linux (ata0,6)/boot/ (tab complete)

If I "force" the filename and press enter, I get:

sh:grub> linux (ata0,6)/boot/vmlinuz-2.6.26-2-686
Error: out of disk

Jaime <jaimet>
Tue 09 Feb 2010 12:55:31 PM UTC, comment #1:

What is your filesystem? Does it work under grub-fstest?

Vladimir Serbinenko <phcoder>
Project Administrator
Thu 04 Feb 2010 12:50:54 PM UTC, original submission:

Hi.

I have a problem using grub2 version 1.97~beta4 on my Thinkpad X31. I've installed grub2 successfully, and when I switch on, the grub screen appears, but when I try to find my linux kernel file, grub2 can't see it. I've had a great conversation with Jordan Uggla over on the help-grub mailing list but I can't seem to get past this problem. The archive for the thread is at:

http://www.mail-archive.com/help-grub@gnu.org/msg00109.html

In case the reason why grub2 can't see my kernel file is due to a bios limitation, I've tried using the ata module instead of the "normal" access method (Jordan mentioned that using the ata module would overcome bios limitations) but even using the ata module, I can tab-complete to the correct partition, then on to the correct directory, but grub2 then thinks that the correct directory is empty.

I've also now tried repartitioning / re "formatting" / reinstalling using different geometries in case this would help, but I still have the same problem.

What can I do to help debug this problem? Thank you.

Jaime <jaimet>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by jaimet (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 17 Oct 2010 12:17:00 AM UTCphcoderOpen/ClosedOpen=>Closed
    Tue 09 Feb 2010 12:57:40 PM UTCphcoderStatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1