From: email@example.com [mailto:firstname.lastname@example.org]
Sent: Thursday, February 24, 2005 4:46 AM
To: Harry Cochran
Subject: Re: [parisc-linux] Upgrading from 2.4 to 2.6
Harry Cochran wrote:
Could someone please help me recover from a failed attempt to upgrade my
J6000 to 2.6?
Looks like I can't boot the 2.4 kernel I have on the system because it's
name doesn't end in 32 or 64 (it ends in smp) -><-.
My J6000 has a cd-rom, so I thought maybe I could boot from that, but sea
ipl doesn't find it.
Here's my original question:
Sorry for the newbie question, but I'm trying to boot 2.6 and I don't
understand how to set up the "root=" for it.
With palo, the partition/mount info is also important: some directories are
relative to the boot-partition, others are relative to the root partition.
My palo.conf says:
--command line=1/boot/vmlinux root=/dev/sda3 HOME=/ initrd=/initrd.img
This recovery-kernel is relative to the run-time root.
Be noted, this kernel is moved to the palo-partition (/dev/sda0) when
`palo`. Best to use the distro's kernel for this, alternative, a kernel that
sure works for recovery purposes. Most systems have /boot/vmlinux a softlink
the prefered kernel, which most times is not the recovery kernel...
Here's what my palo.conf generates on boot right now:
The 1 indicates partition 1 is the boot-partition, the /boot/vmlunix is a
relative path on that partition. Hence, If /dev/sda1 is your /boot
line should be: "1/vmlinux".
Then, the filesystem of /boot is best `ext2` since that is supported by
not all tools. Other filesystems might not be supported.
The root filesystem
Carefully check if the initrd parameter is relative to the root or to the
On boot I get:
cannot open root device "sda3" or unknownblock(2.0)
What is the filesystem on /dev/sda3? It better be ext2 since that is
by most systems. ext3 is possible, I would not use others.
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs or unknown-block(2.0)
I think your kernel only allows ext2 and finds something else.
I have seen one document which says I have to build a ramdisk, but it
doesn't tell me how. What's worse is that I can't get 2.4.26 to boot again
even though I have a symlink (vmlinux.old) to it. I tried changing line 0
1/boot/vmlinux.old (and deleting the "initrd=/initrd.img" line, but it
boots 2.6.8. I even tried inserting a line saying
recoverykernel=/boot/vmlinux.old but that didn't help.
I've seen teh palo that comes with gentoo has an option to list the
the boot-device, so you can check the kernel path.
Keep in mind:
palo must be able to read the boot device (/dev/sd1). Try ext2.
The kernel must be able to read the root device without loading a module.
kernels have ext2 build in.
My idea: once you have a proper working kernel, build a new one without any
modules (all stuff build in) and configure that as a recovery kernel in
I'm sure there's an easy answer and maybe everyone is tired of answering
these kind of newbie questions, but I'm desperate, so I thought I'd try
parisc-linux mailing list