Skip to contentSkip to conversation

grub-setup Segmentation fault

DISCUSSION Magnus Granberg 2 participants 2 messages Aug 5, 2007 – Aug 6, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines
Quoted 6 lines
Quoted 5 lines

Could you try the attached patch?

Signature · 1 line
Robert Millan

It did't fix the Segmentation fault :(

It wasn't supposed to. Did you see what the patch is doing?

Signature · 1 line
Robert Millan

grub-setup: info: prefix = /grub
grub-setup: info: changing current directory to /dev/mapper
grub-setup: info: 2 root_dev = vg-boot
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img Segmentation fault

/Magnus

#1 lore raw
Quoted 12 lines · Magnus Granberg
Quoted 11 lines
Quoted 6 lines
Quoted 5 lines

Could you try the attached patch?

Signature · 1 line
Robert Millan

It did't fix the Segmentation fault :(

It wasn't supposed to. Did you see what the patch is doing?

Signature · 1 line
Robert Millan
Quoted 10 lines

grub-setup: info: prefix = /grub
grub-setup: info: changing current directory to /dev/mapper
grub-setup: info: 2 root_dev = vg-boot
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: reading /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/boot.img
grub-setup: info: getting the size of /boot/grub/core.img
grub-setup: info: reading /boot/grub/core.img
grub-setup: info: getting the size of /boot/grub/core.img Segmentation fault

Sounds like I made the wrong guess, then. You need to figure out where's that null pointer coming from. Doesn't seem to be root_dev..

Signature · 5 lines
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)