I tryed again the command lines above and it is just working now. Ah! I used just: $mkinitrd -R (without "-u") Thanks for your help! Adagilson Adagilson Batista Bispo da Silva escreveu:
I edited /etc/sysconfig/kernel and added: INITRD_MODULES="via89cxxx"
After running again $mkdir /mnt/gonow $mount /dev/hda6 /mnt/gonow $chroot /mnt/gonow $mkinitrd -R -u ...the system told me:
Root device: /dev/root (mounted on / ext2) Module list: via82cxxx You may now have to update your boot loader configuration
Then, I rebooted my box.
...and a new sequence of error messages continues: [...] Loading kernel/fs/jbd/jbd.ko Loading kernel/fs/ext3/ext3.ko /linuxrc: 264: syntax error: Bad substitution VFS: Cannot open root device "hda6" or unknown-block(0,0) Please apend a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
Could you help me again? I just don't know what is missing. I thought just making it a new initrd with a redefined root, it would work. adagilson
PS--my current boot loader, Grub, has this line to label SuSE 9.3: kernel (hd0,5) /boot/vmlinuz too=/dev/hda6 vga=0x31a selinux=0 splash=silent resume=/dev/hda7 showapts initrd (hd0,5) /boot/initrd
Hans du Plooy escreveu:
On Thursday 10 November 2005 13:42, Adagilson Batista Bispo da Silva wrote:
I follow your tips, typing 3 to the boot options, but an error occurred: "Waiting for device /dev/hda6 to appear .....not found -- exiting to /bin/sh sh: can't access tty; job control turned off"
The difference is that Slackware probably builds all their IDE drivers into the kernel, or include all of them in the initrd (dunno which, I haven't worked with Slack in ages), while SUSE only puts what's needed in there.
So you previous board probably had a ALi chipset (popular on boards K6 boards of that era), while the new one is a VIA. when you boot of the rescue CD, d an lsmod and make note of which VIA module is loaded.
Ps--I tried Rescue mode: $mkdir /mnt/gonow $mount /dev/hda6 /mnt/gonow $mkinitrd -R -u --reboot--
You're leaving out a crucial step. Edit /etc/sysconfig/kernel, and add the required module to the list. Then make the new initrd.
Hans