Results 1 to 1 of 1
Some background:
I have experience with installing gentoo...I've had a few successful installations already. But, in this installation, I decided to try installing it across a few partitions, and also ...
- 12-05-2005 #1Linux Enthusiast
- Join Date
- Jun 2005
- Location
- Odessa, FL
- Posts
- 586
Installed gentoo with several partitions and JFS, now it won't boot....error: can't find init
Some background:
I have experience with installing gentoo...I've had a few successful installations already. But, in this installation, I decided to try installing it across a few partitions, and also on JFS (I've used ReiserFS in the past).
The problem:
I don't have the actual error message with me and I'm using DSL right now. chroot'ed into my gentoo install so i have access to any of the config files, and i'm installing anything else that i'd like running once i've got it fixed (xorg-x11 for example).
Essentially, after grub and after the kernel does much of it's stuff....I get an error message saying that it can't find init and that I should declare it within the bootloader. so....I added "init=/sbin/init" as one of the kernel options with still no luck. I also wanted to use initng, so I changed it to "init=/sbin/initng" and still didn't get anything.
My partitioning scheme (2 different harddrives):
Harddrive 1 (hda):
Harddrive 2 (hdg):Code:hda1 /boot hda2 EXTENDED (hda5 - hda9) hda3 Games (for windows) hda4 Windows hda5 / hda6 /opt hda7 /var hda8 /lib hda9 /usr/lib
I'm also using JFS for all of my linux partitions, and compiled the JFS modules into the kenrelCode:hdg1 swap hdg2 EXTENDED (hdg5 - hdg7) hdg3 2nd distro hdg5 /home hdg6 /usr hdg7 /backup (random files)
grub.conf:
i also had to add "ro" in the kernel options because I use JFS (added step stated in the handbook).Code:default 0 timeout 3 splashimage=(hd0,0)/boot/grub/splash.xpm.gz title=Gentoo Linux 2.6.14-gentoo-r2 root (hd0,0) kernel (hd0,0)/kernel-2.6.14-gentoo-r2 root=/dev/hda5 init=/sbin/initng ro
/etc/fstab:
Code:# <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/hda1 /boot jfs noauto,noatime 1 2 /dev/hda5 / jfs noatime 0 1 /dev/hdg1 none swap sw 0 0 /dev/hdg6 /usr jfs noatime 1 1 /dev/hdg5 /home jfs noatime 1 1 /dev/hdg7 /backup jfs noatime 1 1 /dev/hda6 /opt jfs noatime 1 1 /dev/hda7 /var jfs noatime 1 1 /dev/hda8 /lib jfs noatime 1 1 /dev/hda9 /usr/lib jfs noatime 1 1 /dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0 /dev/cdroms/cdrom1 /mnt/cdrom iso9660 noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # NOTE: The next line is critical for boot! proc /proc proc defaults 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
Can someone please help me with this? I would really like to be able to use my installation now. It's frustrating to have to boot into DSL and chroot into the gentoo installation to even install something.
Thanks in advance!!


Reply With Quote
