Hello, Sorry to sound like a bad record, but I'm trying to figure out why I'm getting "Bad gzip magic numbers" errors when ISOlinux is trying to inflate the kernel. Right now I'm clueless as to what's wrong. I've tried various kernels compiled on a few different platforms. Has anyone ever seen this before? ANyone know where a better forum to ask this question would be? Any help whatsoever would be greatly appreciated. Thanks. -John
I said:> Sorry to sound like a bad record, but I'm trying to figure out why I'm > getting "Bad gzip magic numbers" errors when ISOlinux is trying to > inflate the kernel. Right now I'm clueless as to what's wrong. I've > tried various kernels compiled on a few different platforms. Has anyone > ever seen this before? ANyone know where a better forum to ask this > question would be? Any help whatsoever would be greatly appreciated. > Thanks.Well, writing that email caused a shift in the universe and I was able to find out the answer to my problem. For anyone who might run into the same problem, here is what was happening: I was using a uClibc development environment from http://www.uclibc.org because I wanted to compile everything against uClibc. The development environment uses busy box (http://www.busybox.net) for many of the basic system utilities. One of which is gzip. Because busybox was designed to be small, it doesn't accept all of the commandline options that the full verions does. It jsut so happend that some of the flags it doesn't accept are the flags that the kernel make file uses when you do a make bzImage. So I compiled the full version of gzip, did a make bzImage, and everything works now (well, the kernel does at least :) Thanks. -John
Hi, I build an iso image, then I write a bootable cd with nero. I add to isolinux.cfg this line "append root=/dev/hdc" where /dev/hdc is my cd-rom. Now this cd boot very well, but I have this error message: Kernel panic: VFS: Unable to mount root fs on 08:05 Why? Thanks, Alessandro
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 25 March 2003 09:54, Alessandro Ferrari wrote:> Now this cd boot very well, but I have this error message: > > Kernel panic: VFS: Unable to mount root fs on 08:05maybe you need an initrd that loads the cdrom and ide-cd drivers? Here is my linuxrc for booting with a root fs on cd. #! /bin/sh export PATH=/bin echo "Loading module cdrom ..." insmod cdrom echo "Loading module ide-cd ..." insmod ide-cd I once set up a X terminal to run entirely from a cd. If you understand a little german have a look at http://www.zikurrat.net/XTerminal/. Torsten -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+gDrxwicyCTir8T4RAnYtAJ4zWg0B4jkqoIjq4AfKQkKkVyrahwCfcs7L XYe8wU/Ac99Ts1vOfMvOQEc=i3Sg -----END PGP SIGNATURE-----
Hi Torsten, I understand that I have to create a initrd by dd if=/dev/zero of=initrd bs=1024 count=4096, then make a fs on it. After I have to edit linuxrc to call cd-rom modules. But how do I pass initrd to isolinux? Thanks, Alessandro
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 25 March 2003 16:08, Alessandro Ferrari wrote:> I understand that I have to create a initrd by dd if=/dev/zero of=initrd > bs=1024 count=4096, > then make a fs on it. After I have to edit linuxrc to call cd-rom modules. > > But how do I pass initrd to isolinux?This is my isolinux.cfg: - ------------------------------------------------------------ TIMEOUT 50 DEFAULT T8000-de PROMPT 1 DISPLAY message LABEL vmware KERNEL /boot/vmlinuz APPEND initrd=/boot/initrd.my root=/dev/hdc SETUP=vmware LABEL T8000-us KERNEL /boot/vmlinuz APPEND initrd=/boot/initrd.my root=/dev/hdc SETUP=T8000-us acpi=off apm=on LABEL T8000-de KERNEL /boot/vmlinuz APPEND initrd=/boot/initrd.my root=/dev/hdc SETUP=T8000-de acpi=off apm=on - ------------------------------------------------------------ and here is a listing of my initrd. Particular there must be a statically linked /bin/sh and a /bin/insmod and all the modules you need: opi:/mnt # find . -ls | cut -c13- drwxr-xr-x 5 root root 1024 Jan 13 09:46 . drwxr-xr-x 2 root root 1024 Jan 10 04:11 ./bin - -rwxr-xr-x 1 root root 56220 Jan 10 04:11 ./bin/sh - -rwxr-xr-x 1 root root 156244 Jan 10 04:11 ./bin/insmod drwxr-xr-x 2 root root 1024 Jan 10 04:11 ./dev crw--w---- 1 root tty Sep 9 2002 ./dev/tty1 crw--w---- 1 root tty Sep 9 2002 ./dev/tty2 crw-rw-rw- 1 root root Sep 9 2002 ./dev/zero crw-rw-rw- 1 root root Sep 9 2002 ./dev/null brw-rw---- 1 root disk Sep 9 2002 ./dev/ram0 brw-rw---- 1 root disk Sep 9 2002 ./dev/ram1 brw-rw---- 1 root disk Sep 9 2002 ./dev/ram2 lrwxrwxrwx 1 root root 4 Jan 10 04:11 ./dev/ram -> ram0 lrwxrwxrwx 1 root root 4 Jan 10 04:11 ./dev/ramdisk -> ram0 crw-rw---- 1 root video Sep 9 2002 ./dev/fb0 crw------- 1 root root Sep 9 2002 ./dev/console brw-rw---- 1 root disk Sep 9 2002 ./dev/md0 brw-rw---- 1 root disk Sep 9 2002 ./dev/md1 brw-rw---- 1 root disk Sep 9 2002 ./dev/md10 brw-rw---- 1 root disk Sep 9 2002 ./dev/md11 brw-rw---- 1 root disk Sep 9 2002 ./dev/md12 brw-rw---- 1 root disk Sep 9 2002 ./dev/md13 brw-rw---- 1 root disk Sep 9 2002 ./dev/md14 brw-rw---- 1 root disk Sep 9 2002 ./dev/md15 brw-rw---- 1 root disk Sep 9 2002 ./dev/md16 brw-rw---- 1 root disk Sep 9 2002 ./dev/md17 brw-rw---- 1 root disk Sep 9 2002 ./dev/md18 brw-rw---- 1 root disk Sep 9 2002 ./dev/md19 brw-rw---- 1 root disk Sep 9 2002 ./dev/md2 brw-rw---- 1 root disk Sep 9 2002 ./dev/md20 brw-rw---- 1 root disk Sep 9 2002 ./dev/md21 brw-rw---- 1 root disk Sep 9 2002 ./dev/md22 brw-rw---- 1 root disk Sep 9 2002 ./dev/md23 brw-rw---- 1 root disk Sep 9 2002 ./dev/md24 brw-rw---- 1 root disk Sep 9 2002 ./dev/md25 brw-rw---- 1 root disk Sep 9 2002 ./dev/md26 brw-rw---- 1 root disk Sep 9 2002 ./dev/md27 brw-rw---- 1 root disk Sep 9 2002 ./dev/md28 brw-rw---- 1 root disk Sep 9 2002 ./dev/md29 brw-rw---- 1 root disk Sep 9 2002 ./dev/md3 brw-rw---- 1 root disk Sep 9 2002 ./dev/md30 brw-rw---- 1 root disk Sep 9 2002 ./dev/md31 brw-rw---- 1 root disk Sep 9 2002 ./dev/md4 brw-rw---- 1 root disk Sep 9 2002 ./dev/md5 brw-rw---- 1 root disk Sep 9 2002 ./dev/md6 brw-rw---- 1 root disk Sep 9 2002 ./dev/md7 brw-rw---- 1 root disk Sep 9 2002 ./dev/md8 brw-rw---- 1 root disk Sep 9 2002 ./dev/md9 drwxr-xr-x 3 root root 1024 Jan 10 04:11 ./lib drwxr-xr-x 3 root root 1024 Jan 10 04:11 ./lib/modules drwxr-xr-x 3 root root 1024 Jan 10 04:11 ./lib/modules/2.4.19-4GB drwxr-xr-x 5 root root 1024 Jan 13 09:30 ./lib/modules/2.4.19-4GB/kernel drwxr-xr-x 4 root root 1024 Jan 13 09:46 ./lib/modules/2.4.19-4GB/kernel/drivers drwxr-xr-x 2 root root 1024 Jan 10 04:11 ./lib/modules/2.4.19-4GB/kernel/drivers/scsi - -rw-r--r-- 1 root root 102276 Sep 13 2002 ./lib/modules/2.4.19-4GB/kernel/drivers/scsi/BusLogic.o drwxr-xr-x 2 root root 1024 Jan 13 09:46 ./lib/modules/2.4.19-4GB/kernel/drivers/cdrom - -rw-r--r-- 1 root root 38120 Jan 13 09:46 ./lib/modules/2.4.19-4GB/kernel/drivers/cdrom/cdrom.o drwxr-xr-x 3 root root 1024 Jan 10 04:11 ./lib/modules/2.4.19-4GB/kernel/fs drwxr-xr-x 2 root root 1024 Jan 10 04:11 ./lib/modules/2.4.19-4GB/kernel/fs/reiserfs - -rw-r--r-- 1 root root 220864 Sep 13 2002 ./lib/modules/2.4.19-4GB/kernel/fs/reiserfs/reiserfs.o drwxr-xr-x 2 root root 1024 Jan 13 09:31 ./lib/modules/2.4.19-4GB/kernel/ide - -rw-r--r-- 1 root root 38244 Jan 13 09:31 ./lib/modules/2.4.19-4GB/kernel/ide/ide-cd.o - -rwxr-xr-x 1 root root 232 Jan 13 09:46 ./linuxrc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+gHaewicyCTir8T4RAsGWAKCHohrrk2shy/FFUFDL6lzvOHFOrACeOuXo oxAovAyiBoR40s1Xj+Sqpu8=eFwU -----END PGP SIGNATURE-----
Reasonably Related Threads
- Re: Why libguestfs guest exist exceptionally?
- Re: Why libguestfs guest exist exceptionally?
- Re: HA: Accessing iSCSI disc images from the RHEV Manager using libguestfs
- Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)
- Re: libguestfs supermin error