
----- Message Forwarded on Fri 22/10/2004 ----- From: "" <jaytee(a)clear.net.nz> To: Felix <ferina(a)xtra.co.nz> Subject: Re: [wlug] Re Wiki Gentoo notes Date: Fri, 22 Oct 2004 20:37:50 +1300 ----- Original Message Follows -----
^G = Get Help ^O = Write File ^X = Exit, If modified it will ask "Save modified buffer ..." Y(es)/N(o)/^C(ancel) Felix. I did not get these options,, it is a very minimal bash script in Grub edit. I can make changes but not keep them for next boot time..
All I made a major error in compiling the kernel so am going to reinstall from scratch for two reasons. One: I am not sure if the error is recoverable Two: I am becoming a bit less scared of the command environment. There is one thing that is are a bit of a problem, Capital o and zero are a bit of a guess, is there a rule whe it should be a 0 (zero) and when it should be a O (o) Regards John...

On Fri, Oct 22, 2004 at 08:41:06PM +1300, jaytee(a)clear.net.nz wrote:
All I made a major error in compiling the kernel so am going to reinstall from scratch for two reasons. One: I am not
If it is 'just' the kernel, you might be able to boot up from the install disk, and give the boot prompt (either grub or lilo) the option to use the kernel off the cdrom for booting, and then use your harddrive to mount the root partition (instead of using the disk image). For lilo, you would give the name of the kernel image (eg "linux" and then "root=/dev/hdaX" where X is the correct partition), Eg linux root=/dev/hda1 Someone else will have to give you instructions if your boot cdrom uses grub.
Capital o and zero are a bit of a guess, is there a rule whe it should be a 0 (zero) and when it should be a O (o)
If you are talking about the grub config file, then it is 0 (zero). hd0 means the first hard drive, hd1 would be the second, etc. Similarly, (hd0,0) means the first partition on the first hard drive, (hd1,2) means the 3rd partition on the 2nd hard drive, etc. Basically, indexes start at 0. Incidentally, if you use a virtual console (eg alt+ctrl+1) instead of a terminal emulator in X, the O (letter o) and 0 (zero) are distinguishable because the 0 (zero) has a dot in it. John

One of the (many) great things about gentoo is that it doesn't force you into a pre-defined install pattern. What you should do, is boot from the install disk like your starting from scratch - then just mount your disks (mount /dev/hda3 /mnt/gentoo mount /dev/hda1 /mnt/gentoo/boot swapon /dev/hda2 etc.) then enter the chroot enviroment (chroot /mnt/gentoo env-update source /etc/profile etc.) then you can just correct what is wrong - ie by running genkernel with the --menuconfig option so you can go from your last config (or not)/grub config etc. Then just exit, unmount and restart to see if you fixed it - in the end you'll be glad you did, and no need to start from scratch like there would be with a system with a strict install procedure. Good luck! BTW - the grub config program has tab autocompletion - so if you type (hd and press tab, it'll show you all the options. Feel free to e-mail me direct if you still have problems. M John R. McPherson wrote:
On Fri, Oct 22, 2004 at 08:41:06PM +1300, jaytee(a)clear.net.nz wrote:
All I made a major error in compiling the kernel so am going to reinstall from scratch for two reasons. One: I am not
If it is 'just' the kernel, you might be able to boot up from the install disk, and give the boot prompt (either grub or lilo) the option to use the kernel off the cdrom for booting, and then use your harddrive to mount the root partition (instead of using the disk image). For lilo, you would give the name of the kernel image (eg "linux" and then "root=/dev/hdaX" where X is the correct partition), Eg linux root=/dev/hda1 Someone else will have to give you instructions if your boot cdrom uses grub.
Capital o and zero are a bit of a guess, is there a rule whe it should be a 0 (zero) and when it should be a O (o)
If you are talking about the grub config file, then it is 0 (zero). hd0 means the first hard drive, hd1 would be the second, etc. Similarly, (hd0,0) means the first partition on the first hard drive, (hd1,2) means the 3rd partition on the 2nd hard drive, etc. Basically, indexes start at 0.
Incidentally, if you use a virtual console (eg alt+ctrl+1) instead of a terminal emulator in X, the O (letter o) and 0 (zero) are distinguishable because the 0 (zero) has a dot in it.
John
------------------------------------------------------------------------
participants (3)
-
jaytee@clear.net.nz
-
John R. McPherson
-
Malcolm