On Monday 01 December 2003 08:13, Noir wrote: > I am having some difficulties w/ installing Gentoo 1.4 & hope to get some > help. The hdd partition is: > > /dev/hda1 (W2k/ FAT32) > /dev/hda2 (boot +32M) > /dev/hda3 (swap +512M) > /dev/hda4 (root around 7GB) > > I was wondering how I could edit /boot/grub/grub.conf. When I log onto the > shell I cannot find that file in that location.
It's not mounted by default as a precaution. So to edit it, do: # mount /dev/hda2 /boot # nano -w /boot/grub/grub.conf
> However, handhacking of the bootloader to enter the following make the > booting fine: > > #kernel (hd0,1)/boot/kernel-gentoo-1.4* root=/dev/hda4 > #initrd (hd0,0)/boot/initrd-(TAB) gives initrd output > #boot
This looks okay.
> But this hand-hacking also gives some error like not recognizing my boot > partition & asking me to run efsck2 taking me to a single user mode.
This sounds like /etc/fstab is incorrect. You should have something like:
/dev/hda2 /boot <fs> noauto,noatime 1 1
/dev/hda4 / <fs> noatime 1 1
/dev/hda3 none swap swap 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
Folks, thanks heaps. It's working fine taking me to run level 3. But there are still some boot messages I grep'd from /var/log/syslog
Nov 30 15:57:52 localhost kernel: kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2 Nov 30 15:57:52 localhost last message repeated 2 times
Nov 30 15:57:52 localhost kernel: Failed initialization of WD-7000 SCSI card!
Nov 30 15:57:52 localhost kernel: Trying to move old root to /initrd ... failed
Nov 30 15:57:52 localhost kernel: Unmounting old root
Also, checking the /bin & /sbin I know the system is installed w/ less than bare minimum tools. Stuffs like mutt/ postfix/ procmail/ fetchmail/ vim etc. are not installed yet. I did some installation for lynx/ netcat/ iptables etc. w/ emerge -k. But is there any way to have a system w/ bare-minimum stuffs w/o typing emerge -k 100 times!
Regards, Noir.
-- [EMAIL PROTECTED] mailing list
