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

Panic: bad magic number



Hi!

I tried install debian gnu/hurd on a partition with crosshurd from debian gnu/linux. On boot I've got the following error:

start /hurd/ext2fs.static: ext2fs: device:hd0s8: panic: get_hypermetadata: bad magic number 0x8b17 (should be 0xef53)



To resume I did:

1. Partition to host debian gnu/hurd

# mke2fs -b 4096 -I 128 -o hurd /dev/hda8


2. Directory /gnu and mount the partition

# mkdir /gnu
# mount /dev/hda8 /gnu


3. Install crosshurd and launch it on /gnu (hda8)

# aptitude install crosshurd
#cd /gnu ; crosshurd


4. Modify grub menu.lst

title 		Debian GNU/Hurd, kernel K16
root (hd0,7)
kernel /boot/gnumach.gz root=device:hd0s8
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)

title 		Debian GNU/Hurd, kernel K16 (single-user mode)
root (hd0,7)
kernel /boot/gnumach.gz root=device:hd0s8 -s
module /hurd/ext2fs.static --multiboot-command-line=${kernel-command-line} --host-priv-port=${host-port} --device-master-port=${device-port} --exec-server-task=${exec-task} -T typed ${root} $(task-create) $(task-resume)
module /lib/ld.so.1 /hurd/exec $(exec-task=task-create)


5. Reboot. I start ok but I've got the message above. I'v only found that some people had mistake with the name of the partition with hurd (hdXsY), but I think my configuration is OK. I've got the feeling that Hurd can't recognize partitions that aren't on the first place (hda1).

Any Ideas?


Reply to: