| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 61309 | 2005-08-31 07:15:00 | Gentoo installation issue | jcr1 (893) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 385004 | 2005-08-31 07:15:00 | I have re-installed Gentoo, but this time on a bigger partition. Grub works faultlessly (thanks to Tazz) I see where I was previously having diffiiculty with it. However, when I went for first reboot I got the following; "The root block device is unspecified or not detected Please specify a device to boot, or "shell" foa shell.... boot ()::" I typed in "shell", get message; "/bin/ash: can't access tty; job control turned off /#" If I type in say "nano -w /etc/fstab" I get an error message. Would someone please be able to enlighten me as to what I should do? I have done a networkless install off a universal stage 3 cd and have not yet set the root password (that was going to be my first job at reboot). The other thing is I set / in the fstab to ReiserFS and I wonder if it should have been reiserfs. Boot is ext2. Thanks, advice would be greatly appreciated. |
jcr1 (893) | ||
| 385005 | 2005-08-31 07:46:00 | You have to set the root password while in the chroot environment It should be a lowercase reiserfs in the fstab Your shell will also be: /bin/bash |
Chilling_Silence (9) | ||
| 385006 | 2005-08-31 09:53:00 | And to save you from redoing the entire install again.... Have a look here (pressf1.pcworld.co.nz) Chillings first post to this thread saved me on more than one occassion :D |
Myth (110) | ||
| 385007 | 2005-08-31 11:04:00 | Thanks Chill & Tazz, I've altered the fstab accordingly and am absolutely sure it is correct, but still not working . I'm not so sure about /etc/modules . autoload . d/kernel-2 . 6 though . There is too much detail with all the modules for me to get to grips with . Should I just leave it as it comes in a default state? The other thing is, that before the message I quoted in my original post,I get this message; "Activating udev Determining root device . . . . . " I know it should be /bin/bash, but /bin/ash is what I've been getting . Lastly, the handbook says use "grub-install /dev/hda" . It's used hda as an example all the way through, but generally I've replaced it with hdb (because that's where I'm installing linux) . However, it raised a bit of uncertainty with me, so I ran the command in both hda & hdb . Do you think this might have screwed things up a bit? |
jcr1 (893) | ||
| 385008 | 2005-08-31 23:37:00 | Thanks Chill & Tazz, I've altered the fstab accordingly and am absolutely sure it is correct, but still not working . I'm not so sure about /etc/modules . autoload . d/kernel-2 . 6 though . There is too much detail with all the modules for me to get to grips with . Should I just leave it as it comes in a default state? The other thing is, that before the message I quoted in my original post,I get this message; "Activating udev Determining root device . . . . . " I know it should be /bin/bash, but /bin/ash is what I've been getting . Lastly, the handbook says use "grub-install /dev/hda" . It's used hda as an example all the way through, but generally I've replaced it with hdb (because that's where I'm installing linux) . However, it raised a bit of uncertainty with me, so I ran the command in both hda & hdb . Do you think this might have screwed things up a bit?OK, as far as the modules are concerned, I left them as standard . I just followed the handbook and its advice grub-install should go to hdb2 (if that where your /boot partition is) As for fstab . . . by default this is what it will looks like . . . /dev/BOOT etx2 blah blah blah change the device listing to this: /dev/hdb1 ext . . . . <<if hdb1 is your boot partition Or in FC4 I noticed it was simply /LABEL="HOME" (or something similar) Not sure as to the /bin/(b)ash thing, Chilling or someone else may be able to help you there I typed in "shell", get message; "/bin/ash: can't access tty; job control turned off /#" I never got this error, but then maybe its related to the fact I did this: If you want root to be able to log on through the serial console, add tts/0 to /etc/securetty: Code Listing 23: Adding tts/0 to /etc/securetty ( . gentoo . org/doc/en/handbook/2005 . 1/handbook-x86 . xml?part=1&chap=8" target="_blank">www . gentoo . org) # echo "tts/0" >> /etc/securetty I didn't understand it so threw it in 'just in case' :) |
Myth (110) | ||
| 385009 | 2005-09-01 07:04:00 | I have re-installed Gentoo, but this time on a bigger partition. Grub works faultlessly (thanks to Tazz) I see where I was previously having diffiiculty with it. However, when I went for first reboot I got the following; "The root block device is unspecified or not detected Please specify a device to boot, or "shell" foa shell.... boot ()::" I typed in "shell", get message; "/bin/ash: can't access tty; job control turned off /#" Looks like your grub.conf has the error. You need to chroot from the Live-CD to your / partition and take a look at grub.conf. Remember you will need to mount the /boot partition as well when you chroot over. Follow chill's instructions in the link given above by Tazz on using chroot, or read the manual on the chroot step. The shell ash is different to the bash shell. |
Jen (38) | ||
| 385010 | 2005-09-01 09:04:00 | I've had a look at the Grub.conf, as you suggested Jen. But I can't see anything wrong with it. Here it is; default 0 timeout 30 splashimage=(hd1,1)/grub/splash.xpm.gz title=Gentoo Linux 2.6.12-r6 root (hd1,1) kernel /kernel-genkernel-x86-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hdb4 udev initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6 title=Windows XP Professional root (hd0,0) makeactive chainloader +1 I have an XP Pro partition on hda1 and ntfs on hdb1. Linux boot on hdb2, swap on hdb3 and / on hdb4. Can someone tell me please if I'm going wrong here somewhere. |
jcr1 (893) | ||
| 385011 | 2005-09-01 09:41:00 | OK, first thing, is your root hdb4? (or is it on an extended partition therefore making it hdb5?) Second, can you show us your /etc/fstab please :) |
Myth (110) | ||
| 385012 | 2005-09-01 13:12:00 | Personally having had no experience with ramdisks, i would suggest compile the kernel manually... :-/ Then you could use something like: default 0 timeout 3 splashimage=(hd1,1)/grub/splash.xpm.gz title=Gentoo Linux 2.6.12-r6 root (hd1,1) kernel /kernel-2.6.12-gentoo-r6 root=/dev/hdb4 Thats as simple as mine is! |
Chilling_Silence (9) | ||
| 385013 | 2005-09-03 01:17:00 | I did another install and used genkernel again. I haven't got the confidence to do manual configuration. At the close of the compilation process I received this message(s); Required Kernel Parameters real_root=/dev/$ROOT where $ROOT is the device node for your root partition as the one specified in /etc/fstab If you require Genkernel's hardware detection features: you must tell your bootloader to use the provided INITRAMFS file. Otherwise sustitute the root argument for the real_root argument if you are not planning to use the initrd... WARNING... WARNING... WARNING... Additional kernel cmdline arguments that *may* be required to boot properly..... add "vga=791 splash=silent" If you use a bootsplash framebuffer I added the above to boot/grub/grub.conf after initrd /initramfs-genkernel-x86-2.6.12-gentoo-r6 and on a separate line. (my grub.conf is on a previous posting) But it has made no difference. Any other ideas? |
jcr1 (893) | ||
| 1 2 3 4 5 6 7 | |||||