* [parisc-linux] Upgrading from 2.4 to 2.6 [not found] <20050222210531.6c4fccc2@Tatooine.r3z0> @ 2005-02-23 20:43 ` Harry Cochran 2005-02-23 21:27 ` Harry Cochran [not found] ` <FHEGKPBPFFGIFBGOANOKGEMLEPAA.h.cochran@comcast.net> 2 siblings, 0 replies; 3+ messages in thread From: Harry Cochran @ 2005-02-23 20:43 UTC (permalink / raw) To: parisc-linux, debian-hppa Hi, 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 quite understand how to set up the "root=" for it. My palo.conf says: --command line=1/boot/vmlinux root=/dev/sda3 HOME=/ initrd=/initrd.img console=ttyS0 TERM=vt102 --recoverykernel=/boot/vmlinux --init-partitioned=/dev/sda Here's what my palo.conf generates on boot right now: 0 1/boot/vmlinux 1 root=/dev/sda3 2 HOME=/ 3 initrd=/initrd.img 4 console=ttys0 5 TERM=vt102 On boot I get: cannot open root device "sda3" or unknownblock(2.0) Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs or unknown-block(2.0) 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 to 1/boot/vmlinux.old (and deleting the "initrd=/initrd.img" line, but it still boots 2.6.8. I even tried inserting a line saying recoverykernel=/boot/vmlinux.old but that didn't help. ************* 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 one more time. Thanks, Harry _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux ^ permalink raw reply [flat|nested] 3+ messages in thread
* [parisc-linux] Upgrading from 2.4 to 2.6 [not found] <20050222210531.6c4fccc2@Tatooine.r3z0> 2005-02-23 20:43 ` [parisc-linux] Upgrading from 2.4 to 2.6 Harry Cochran @ 2005-02-23 21:27 ` Harry Cochran [not found] ` <FHEGKPBPFFGIFBGOANOKGEMLEPAA.h.cochran@comcast.net> 2 siblings, 0 replies; 3+ messages in thread From: Harry Cochran @ 2005-02-23 21:27 UTC (permalink / raw) To: parisc-linux, debian-hppa Newbie mistake #1 was that I had the wrong (i386) cd. Now I can boot from the hppa cd. However, the partition where I have /boot, SDA1, is listed as -- Not Available --. So, I can't back out of the 2.6 install easily. Any help on how to recover from here would be greatly appreciated. Hi, 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 quite understand how to set up the "root=" for it. My palo.conf says: --command line=1/boot/vmlinux root=/dev/sda3 HOME=/ initrd=/initrd.img console=ttyS0 TERM=vt102 --recoverykernel=/boot/vmlinux --init-partitioned=/dev/sda Here's what my palo.conf generates on boot right now: 0 1/boot/vmlinux 1 root=/dev/sda3 2 HOME=/ 3 initrd=/initrd.img 4 console=ttys0 5 TERM=vt102 On boot I get: cannot open root device "sda3" or unknownblock(2.0) Please append a correct "root=" boot option Kernel panic: VFS: Unable to mount root fs or unknown-block(2.0) 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 to 1/boot/vmlinux.old (and deleting the "initrd=/initrd.img" line, but it still boots 2.6.8. I even tried inserting a line saying recoverykernel=/boot/vmlinux.old but that didn't help. ************* 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 one more time. Thanks, Harry _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <FHEGKPBPFFGIFBGOANOKGEMLEPAA.h.cochran@comcast.net>]
* Re: [parisc-linux] Booting 2.6 [not found] ` <FHEGKPBPFFGIFBGOANOKGEMLEPAA.h.cochran@comcast.net> @ 2005-02-23 21:40 ` Grant Grundler 0 siblings, 0 replies; 3+ messages in thread From: Grant Grundler @ 2005-02-23 21:40 UTC (permalink / raw) To: Harry Cochran; +Cc: parisc-linux On Wed, Feb 23, 2005 at 10:56:34AM -0500, Harry Cochran wrote: > Hi, > > Sorry for the newbie question, but I'm trying to boot 2.6 and I don't quite > understand how to set up the "root=" for it. The name of the root disk might have changed IFF you have more than one disk installed/connected to the system. Look through console output > > My palo.conf says: > --command line=1/boot/vmlinux root=/dev/sda3 HOME=/ initrd=/initrd.img I expect this needs to say: initrd=1/boot/initrd.img I personally like to point palo/elilo/lilo directly at the file to load by default (and not a symlink). > console=tys0 TERM=vt102 > --recoverykernel=/boot/vmlinux > --init-partitioned=/dev/sda > > Here's what my palo.conf generates on boot right now: > > 0 1/boot/vmlinux > 1 root=/dev/sda3 > 2 HOME=/ > 3 initrd=/initrd.img > 4 console=ttys0 > 5 TERM=vt102 > > On boot I get: > > cannot open root device "sda3" or unknownblock(2.0) Well, if the kernel expects devfs mounted or something else, then you have to sort out which /dev files are needed. I suspect more likely either the sym53c8xx driver didn't get loaded (no initrd found possibly) or more than one disk is installed and the device name changed. > Please append a correct "root=" boot option > Kernel panic: VFS: Unable to mount root fs or unknown-block(2.0) > > I have seen one document which says I have to build a ramdisk, but it > doesn't tell me how. mkinitrd is the command you are looking for. But I don't use an initrd on my boxes since I'm building my own kernels. The initrd is most useful for generic kernel builds where one wants every possible driver available as a potential root device. Since I build my own kernels and know which drivers are needed for root, I don't really need an initrd. ? 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 to > 1/boot/vmlinux.old, but it still boots 2.6.8. I even tried inserting a line > saying recoverykernel=/boot/vmlinux.old but that didn't help. > > Sounds easy ... just go to 2.6 (the solution to a problem I'm trying to > implement), but for this newbie, it's anything but. *nod* Here's my palo.conf: ioz:~# cat /etc/palo.conf --commandline=0/vmlinux-2.6.11-rc2-pa3-UP root=/dev/sda3 panic=5 console=ttyS1 --format-as=2 --update-partitioned=/dev/sda [ I've also added "noudev" to the commandline on some of the machines. ] ioz:~# fdisk -l /dev/sda ioctl32(fdisk:4277): Unknown cmd fd(4) cmd(40081272){00} arg(faf005f0) on /dev/sda Disk /dev/sda: 73.4 GB, 73407865856 bytes 255 heads, 63 sectors/track, 8924 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 24 192748+ f0 Linux/PA-RISC boot /dev/sda2 25 148 996030 82 Linux swap /dev/sda3 149 2140 16000740 83 Linux /dev/sda4 2141 8924 54492480 83 Linux ioz:~# mount /dev/sda3 on / type ext3 (rw,errors=remount-ro) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) /dev/sda1 on /boot type ext2 (rw) /dev/sda4 on /home type ext3 (rw) I hope the above should get you on the right track. > > Please help. > > Thanks, > > Harry > > > _______________________________________________ > parisc-linux mailing list > parisc-linux@lists.parisc-linux.org > http://lists.parisc-linux.org/mailman/listinfo/parisc-linux _______________________________________________ parisc-linux mailing list parisc-linux@lists.parisc-linux.org http://lists.parisc-linux.org/mailman/listinfo/parisc-linux ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-23 21:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20050222210531.6c4fccc2@Tatooine.r3z0>
2005-02-23 20:43 ` [parisc-linux] Upgrading from 2.4 to 2.6 Harry Cochran
2005-02-23 21:27 ` Harry Cochran
[not found] ` <FHEGKPBPFFGIFBGOANOKGEMLEPAA.h.cochran@comcast.net>
2005-02-23 21:40 ` [parisc-linux] Booting 2.6 Grant Grundler
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox