[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub 0.97 and squashfs

From: Dmitry Baryshev
Subject: grub 0.97 and squashfs
Date: Thu, 8 Apr 2010 01:06:30 +0300


I'm using grub 0.97 with some work made for squashfs support. It can read data from squash partitions. I have one separate small ext2 partition for all grub data. It stores menu.lst, stage* files and so on. Menu.lst points to squashfs parttions. I can call grub-install with this ext2 partition as a --root-directory argument without any problem, and the system boots ok.

Then I tried to discard using small ext2 partition. I booted from USB stick, and removed ext2 partition in fdisk and made a complete repartiotioning, now my HDD has only squashfs partitions. Then I burned a system image with my own tools. System itself is based on Debian Squeeze.

Then I created file (still booted USB stick):

$ echo "(hd0) /dev/sda" > /tmp/

Then I called grub from command line

$ grub --batch --device-map=/tmp/ <<EOF
root (hd0,4)
setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)

After that my system completely freezed for unknown reason. Any ideas why did it happen? Maybe grub tries to write something to squashfs partition and fails?

Thanks for help.

Regards, Krasu

reply via email to

[Prev in Thread] Current Thread [Next in Thread]