Re: Trouble with pivotroot while installing on 1998 Powerbook G3
I was able to track down the solution on the Club Mandrake bulletin board once I figured out that Search didn't work. The problem was that I was booting a ramdisk from the BootX.sit archive, because I didn't realize that /boot/all.gz was a ramdisk. Sorry for asking such a basic question here. I'm not sure if I just missed this in the install documentation or what, but the PPC install documentation for Old World Macs is definitely a bit sparse. :'} Thanks!
Re: Trouble with pivotroot while installing on 1998 Powerbook G3
On Fri, 30 May 2003, Ted Lemon wrote: > > There are only 2 install kernels in 9.1. Your output looks like you > > are > > using one of the kernels/initrd's for the installed system. > > > > The install kernels, initrd are in /boot or in the BootX .sit file: > > I got the install kernel out of the BootX .sit file. It seems > completely plausible that I am booting the wrong ramdisk, but I see no > way to distinguish among them. > > What appears in the BootX.sit file are a bunch of ramdisks with names > that all start with initrd-2.4.20-benh-9mdk, followed by an extension > that seems to be the name of a Linux filesystem format. There are > similar initrd files for the non-BenH kernel. > That's your problem. You don't use the initrd's for the install. You use the appropriate all.gz file that goes with the kernel, placed in the same dir as the kernels. Again, I was pretty sure I composed a whole doc in that .sit file discussing using BootX for both the install and post install. > I am booting a kernel from the same directory. I also tried booting a > kernel from the /boot directory on the CD-ROM, but to no avail. I > couldn't find any ramdisk images on the CD other than the ones in the > BootX.sit file. > > -- Stew Benedict -- MandrakeSoft PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 IRC: irc.freenode.net #cooker-ppc Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2
Re: Trouble with pivotroot while installing on 1998 Powerbook G3
There are only 2 install kernels in 9.1. Your output looks like you are using one of the kernels/initrd's for the installed system. The install kernels, initrd are in /boot or in the BootX .sit file: I got the install kernel out of the BootX .sit file. It seems completely plausible that I am booting the wrong ramdisk, but I see no way to distinguish among them. What appears in the BootX.sit file are a bunch of ramdisks with names that all start with initrd-2.4.20-benh-9mdk, followed by an extension that seems to be the name of a Linux filesystem format. There are similar initrd files for the non-BenH kernel. I am booting a kernel from the same directory. I also tried booting a kernel from the /boot directory on the CD-ROM, but to no avail. I couldn't find any ramdisk images on the CD other than the ones in the BootX.sit file.
Re: Trouble with pivotroot while installing on 1998 Powerbook G3
On Fri, 30 May 2003, Ted Lemon wrote: > I'm having trouble getting a BootX-loaded kernel to get to the point of > doing an install. I've set up BootX to boot one of the non-BenH > kernels off of the install CD, and I've set it up to install a RAMdisk > image that corresponds to that kernel. The parameters I am passing in > are just what came by default: > There are only 2 install kernels in 9.1. Your output looks like you are using one of the kernels/initrd's for the installed system. The install kernels, initrd are in /boot or in the BootX .sit file: [EMAIL PROTECTED] SOURCES]$ ls /mnt/disk/export/boot/ all-benh.gz all.gz ofboot.b vmlinux* vmlinux-benh* yaboot yaboot.conf yaboot.msg Unless I omitted it, there is also a fairly detailed doc on how to setup BootX for both the install and the installed system in the .sit file: Mandrake_Linux_Install.sit in the BootX folder. If that doc is missing, let me know and I'll have vdanen add it to the errata and I'll put it on my web space. -- Stew Benedict -- MandrakeSoft PPC FAQ: http://www.linux-mandrake.com/en/ppcFAQ.php3 IRC: irc.freenode.net #cooker-ppc Archives: http://marc.theaimsgroup.com/?l=mandrake-cooker-ppc&r=1&w=2
Trouble with pivotroot while installing on 1998 Powerbook G3
I'm having trouble getting a BootX-loaded kernel to get to the point of doing an install. I've set up BootX to boot one of the non-BenH kernels off of the install CD, and I've set it up to install a RAMdisk image that corresponds to that kernel. The parameters I am passing in are just what came by default: root=/dev/ram3 ramdisk_size=4 automatic=method:cdrom The linux kernel boots and decompresses the ramdisk, and then it looks like it tries to remount root, and when it does so, it fails, trips over itself, and dies. I don't know what's going on here, but I'm wondering if some kind person could take a look at the boot output and see if it rings a bell. Any clues would be greatly appreciated! [...] RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem). Red Hat nash version 3.1.6-mdk starting Loading mesh module mesh: configured for synchronous 5MB/s mesg: performing initial bus reset... ADB keyboard at 2, handler 1 Detected ADB keyboard, type ANSI. input1: ADB HID on ID 2:2.c3 intput2: ADB HID on ID 7:7.1f ADB mouse at 3, handler set to 4 (trackpad) input3: ADB HID on ID 3:3.01 adb: finished probe task... scsi0 : MESH Loading mac53c94 module /lib/mac53c94.o: init_module: No such device Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg ERROR: /bin/insmod exited abnormally! Mounting /proc filesystem Creating root device Mounting root filesystem VFS: Can't find ext2 filesystem on dev ramdisk(1,3) mount: error 22 mounting ext2 flags (null) well, retrying read-only without any flag VFS: Can't find ext2 filesystem on dev ramdisk(1,3). mount: error 22 mounting ext2 pivotroot: pivot_root(/sysroot,/sysroot/initrd) failed: 2 Remounting devfs at correct place if necessary Freeing unused kernel memory: 160k init 4k chrp 8k prep Kernel panic: No init found. Try passing init= option to kernel. <0>Rebooting in 180 seconds..