Skip to contentSkip to conversation

grub2

DISCUSSION Svante Signell 3 participants 6 messages Apr 29, 2012 – Apr 30, 2012 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 1335651781.1819.3.camel@x60

#1 lore raw

Adding grub-devel as Cc: maybe you can help me?

Quoted 6 lines · Svante Signell

Samuel,

Did you really check the grub2 patch? When installing it kvm freezes, and now I'm left with a dumb grub rescue prompt. The problems are in the post-install script. Which commands to give to boot again and to repair??

This is what I've found so far:
Installing the latest grub2, from debian-ports:
/var/lib/dpkg/info/grub-pc.postinst: line 557: 668 Segmentation fault
grub-install --force --no-floppy $real_device

booting results in:
grub rescue>

Found a few commands:
ls -> lists (hd0),(hd0,msdos1), partitions
ls / -> OK
ls /boot -> OK, the gnumach image is there!

set root=(hd0,1)
set prefix=(hd0,1)/boot/grub

ls (hd0,1)/boot/grub -> lists all modules, etc: Is there a pager available???

ls (hd0,1)/boot/grub/normal.mod -> error: file not found

insmod normal -> error: file not found

No progress from here!

#2 lore raw
Quoted 1 line · Svante Signell

Adding grub-devel as Cc: maybe you can help me?

Use newer GRUB

Quoted 38 lines · Svante Signell
Quoted 6 lines

Samuel,

Did you really check the grub2 patch? When installing it kvm freezes, and now I'm left with a dumb grub rescue prompt. The problems are in the post-install script. Which commands to give to boot again and to repair??

This is what I've found so far:
Installing the latest grub2, from debian-ports:
/var/lib/dpkg/info/grub-pc.postinst: line 557: 668 Segmentation fault
grub-install --force --no-floppy $real_device

booting results in:
grub rescue>

Found a few commands:
ls -> lists (hd0),(hd0,msdos1), partitions
ls / -> OK
ls /boot -> OK, the gnumach image is there!

set root=(hd0,1)
set prefix=(hd0,1)/boot/grub

ls (hd0,1)/boot/grub -> lists all modules, etc: Is there a pager available???

ls (hd0,1)/boot/grub/normal.mod -> error: file not found

insmod normal -> error: file not found

No progress from here!

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#3 lore raw
Quoted 3 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 1 line · Svante Signell

Adding grub-devel as Cc: maybe you can help me?

Use newer GRUB

Well the grub version at debian-ports is grub*_1.99-21 +hurd.1_hurd-i386.deb and the latest Debian one is 1.99-21. So the versions are the same. I have seen the discussion on this list for a Hurd patch, and as I see it, the patch applied by Samuel for Debian is for the latest Debian version. Maybe there are later upstream versions, but I am not sure if newer version will enter Debian/Wheezy, the freeze is in less than two months.

#4 lore raw
Quoted 6 lines · Svante Signell
Quoted 3 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 1 line · Svante Signell

Adding grub-devel as Cc: maybe you can help me?

Use newer GRUB

Quoted 7 lines

Well the grub version at debian-ports is grub*_1.99-21 +hurd.1_hurd-i386.deb and the latest Debian one is 1.99-21. So the versions are the same. I have seen the discussion on this list for a Hurd patch, and as I see it, the patch applied by Samuel for Debian is for the latest Debian version. Maybe there are later upstream versions, but I am not sure if newer version will enter Debian/Wheezy, the freeze is in less than two months.

If I understand you silence right, there is no hope of any help from the core grub developers. What a pity. I will have to reinstall a working grub some other way then. Still wondering why ls /path lists all files, including file.mod but ls /path/file.mod errors out??

#5 lore raw
Quoted 13 lines · Svante Signell
Quoted 4 lines · Svante Signell
Quoted 2 lines · Vladimir 'φ-coder/phcoder' Serbinenko
Quoted 1 line · Svante Signell

Adding grub-devel as Cc: maybe you can help me?

Quoted 8 lines
Quoted 1 line

Use newer GRUB

Well the grub version at debian-ports is grub*_1.99-21 +hurd.1_hurd-i386.deb and the latest Debian one is 1.99-21. So the versions are the same. I have seen the discussion on this list for a Hurd patch, and as I see it, the patch applied by Samuel for Debian is for the latest Debian version. Maybe there are later upstream versions, but I am not sure if newer version will enter Debian/Wheezy, the freeze is in less than two months.

Quoted 2 lines

If I understand you silence right, there is no hope of any help from the core grub developers. What a pity.

In upstream it's all fixed. We don't do any packaging. Contact Debian.

Quoted 10 lines

I will have to reinstall a working
grub some other way then. Still wondering why ls /path lists all files, including file.mod but ls /path/file.mod errors out??

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
#6 lore raw
In reply to Svante Signell
Quoted 1 line · Svante Signell, le Sun 29 Apr 2012 10:30:06 +0200, a écrit :

Adding grub-devel as Cc: maybe you can help me?

Well, grub-devel does not handle Debian scripts

Quoted 3 lines

This is what I've found so far:
Installing the latest grub2, from debian-ports:
/var/lib/dpkg/info/grub-pc.postinst: line 557: 668 Segmentation fault

In that file on my system, that line is

for i in echo $RET | sed -e 's/, / /g' ; do

Quoted 1 line

grub-install --force --no-floppy $real_device

is the above line 557 in your system?

As I mentioned in my other mail, simplest is to use an installation CD as a rescue CD.

Samuel