LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   FC4 install on laptop with SATA 378 (https://www.linuxquestions.org/questions/linux-hardware-18/fc4-install-on-laptop-with-sata-378-a-351683/)

phantasm 08-09-2005 09:19 PM

FC4 install on laptop with SATA 378
 
Ok. Fianally got a copy of FC4 to install on my laptop. The problem i'm having now is that i can't see the linux distribution.

I think i accidentally installed Grub on the second hard drive with FC4 instead of on /dev/sda. How do i correct this? I know i need to edit grub.conf, but how do i get access to it? Thanks.

gd2shoe 08-10-2005 03:32 AM

2 hard drives in a laptop? Sata in a laptop? Interesting...

Unlike lilo, you don't need to reinstall grub every time you make a change to the config file. There often is a grub.conf, but I don't see it used very often. The real settings are stored in /boot/grub/menu.lst (in most distro's that I've seen).

But to address your problem: There are a few ways to go about this. The easiest is going to involve your installation CD. It's been a while since I've seen a Fedora install, so I can't be of too much help, but most big distro's have a repair function on the installation medium. Reinstalling grub to the MBR is one of the things that should be available on the CD.

The other way would be to boot the system using a live CD such as Knoppix. Then you could reinstall grub from knoppix or a chroot jail. (using grub-install for example)

Using chroot, you can get knoppix (or any distro) to pretend that the root filesystem is somewhere else. This is useful for using programs and configuration files from your installation. For example (as root):

mount /mnt/sdb1
mount --bind /proc /mnt/sdb1/proc
chroot /mnt/sdb1

It's been a while since I've done this (and I'm tired at the moment), so I wont garentee that I'm not missing something, but this should let you pretend that you are running your fedora system from the root account. All of your programs and configuration files will be exactly where they are expected to be, because the system is telling all programs inside the chroot jail that the /mnt/sdb1 really is '/'. This will let you run any fedora specific scripts that you might want to run.

Good luck. Post back. (I might be more help when I'm awake.)

phantasm 08-10-2005 12:05 PM

Well i tried the FC4 install way and no go. Reinstalled Grub to the MBR and Grub still doesn't load. The system goes straight into Windoze.

The system has the SATA 378 controller - 2 40gb hard drives. /dev/sda1 is the windoze install and FC4 is on /dev/sdb1. Also for some reason when i selected auto partition it installed everything as LVM's? Any help is appreciated. Thanks.

phantasm 08-10-2005 12:58 PM

Ok, problem solved. Decided to manually parition the drives and re-install FC4. All is good, Grub loads on boot and i can boot into either OS now. So next is getting my PCMCIA wireless card to work.


All times are GMT -5. The time now is 07:12 AM.