Re: [gentoo-user] SATA Boot problem-please help

2005-05-18 Thread Richard Fish
C R. Little wrote:

>I recomplied all intel and promise modules into the kernel and it loads the 
>drivers on boot. But to fix the problem completely. I changed root=/dev/ram0 
>to root=/dev/sda3 and removed real_root=/dev/sda3.
>
>what is is the root=/dev/ram0 for? Is it needed?
>
>  
>

The "root=" option tells the kernel what device to use for the root
filesystem.  It is only used if you do _not_ use an initial ram disk
(initrd).  If you use initrd, it is up to the script in the initrd
environment to determine the root filesystem and tell the kernel what
device is the real root via /proc/real-root-dev.  The initrd script
normally looks at the kernel command line to determine this device, so
it could be "root=", "real_root=", "my_root=", "blah_blah=", etc.  It
just depends on what you used to create the initrd that determines what
the script looks for.

If you create a directory "/initrd", your initrd should be mounted there
when you next reboot.  You can then take a look at the /initrd/linuxrc
script if you want to understand more.

You can also mount it manually by doing:

gunzip < /boot/initrdX >/dev/ram0
mkdir /initrd
mount /dev/ram0 /initrd

-Richard

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] SATA Boot problem-please help

2005-05-18 Thread C R. Little
I recomplied all intel and promise modules into the kernel and it loads the 
drivers on boot. But to fix the problem completely. I changed root=/dev/ram0 to 
root=/dev/sda3 and removed real_root=/dev/sda3.

what is is the root=/dev/ram0 for? Is it needed?




-Original Message-
From: Andrew Potter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 17, 2005 4:10 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SATA Boot problem-please help


C R. Little wrote:

>For some reason I don't think the kernel is loading the right drivers for the 
>SATA controller. 
>
I had this problem with my laptop. Compile all the promise and all
theintel device modules into your kernel (Not as modules). Reboot and it
should pick it up. Then start removing modules 1 at a time from the
kernel, recompiling, reboot, etc, until you figure out which one it is
you need. For me it was the Promise TX2/4. I think. Also, SATA driver
support is evolving, so be sure to have the latest kernel available.

Good luck!

--
Andrew Potter
-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA Boot problem-please help

2005-05-17 Thread Andrew Potter
C R. Little wrote:

>For some reason I don't think the kernel is loading the right drivers for the 
>SATA controller. 
>
I had this problem with my laptop. Compile all the promise and all
theintel device modules into your kernel (Not as modules). Reboot and it
should pick it up. Then start removing modules 1 at a time from the
kernel, recompiling, reboot, etc, until you figure out which one it is
you need. For me it was the Promise TX2/4. I think. Also, SATA driver
support is evolving, so be sure to have the latest kernel available.

Good luck!

--
Andrew Potter
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] SATA Boot problem-please help

2005-05-16 Thread C R. Little
kernel-2.6.11-gentoo-r8 is located on /boot whis /dev/sda1. Which would be 
(hd1,0) for the second Hard drive the first partition. I don't think the 
problem is with grub because it will boot just can't find the root partition. 
which should be /dev/sda3. For some reason I don't think the kernel is loading 
the right drivers for the SATA controller. The LiveCD uses Intel PiiX. which I 
compiled into the kernel. I've found several google groups refering to this 
problem as of yet I haven't found anything on SATA drives, it's been all scsi, 
I'm using SATA not SCSI
I

-Original Message-
From: Neil Bothwick [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 11:16 AM
To: gentoo-user@lists.gentoo.org
Subject: RE: [gentoo-user] SATA Boot problem-please help


On Mon, May 16, 2005 4:58 pm, C R. Little said:
> That didn't seem to work either. I tried (hd1,3) which should be / but
> that didn't work either

Go into the GRUB shell and type

find /kernel-2.6.11-gentoo-r8

to see which GRUB device contains your /boot partition.

looking at your setup, I would have expected it to be (hd1,0), unless the
SATA drive is detected first, in which case it would be (hd0,0).



-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] SATA Boot problem-please help

2005-05-16 Thread Neil Bothwick
On Mon, May 16, 2005 4:58 pm, C R. Little said:
> That didn't seem to work either. I tried (hd1,3) which should be / but
> that didn't work either

Go into the GRUB shell and type

find /kernel-2.6.11-gentoo-r8

to see which GRUB device contains your /boot partition.

looking at your setup, I would have expected it to be (hd1,0), unless the
SATA drive is detected first, in which case it would be (hd0,0).



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SATA Boot problem-please help

2005-05-16 Thread Richard Fish
Peter Ruskin wrote:

>On Monday 16 May 2005 16:19, C R. Little wrote:
>  
>
>>title=Gentoo Linux 2.6.11-r8
>>root (hd1,0)
>>
>>
>--
>You could try changing this to root (hd1,1)
>  
>

No, don't do this  The grub root entry is to specify where grub's files
are.  Since /boot is the first partition on the first drive, (hd1,0) is
correct.


>>kernel /kernel-2.6.11-gentoo-r8 root=/dev/ram0 init=/linuxrc
>>ramdisk_size=8192 vga=0x318 splash=verbose udev initrd
>>
>>

I think you need to add "real_root=/dev/sda3" to your kernel options.

-Richard

-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] SATA Boot problem-please help

2005-05-16 Thread C R. Little
That didn't seem to work either. I tried (hd1,3) which should be / but that 
didn't work either

-Original Message-
From: Peter Ruskin [mailto:[EMAIL PROTECTED]
Sent: Monday, May 16, 2005 10:50 AM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] SATA Boot problem-please help


On Monday 16 May 2005 16:19, C R. Little wrote:
> title=Gentoo Linux 2.6.11-r8
> root (hd1,0)
--
You could try changing this to root (hd1,1)
> kernel /kernel-2.6.11-gentoo-r8 root=/dev/ram0 init=/linuxrc
> ramdisk_size=8192 vga=0x318 splash=verbose udev initrd
> /initrd-2.6.11-gentoo-r8
>
> title=Windows XP Professional
> root (hd0,0)
> makeactive
> chainloader +1
>
> I have installed Gentoo to a dual had drive system
>
> /dev/hda1 --> Windows XP Professional
>
> /dev/sda --> Gentoo Install
> /dev/sda1 - /boot
> /dev/sda3 - /

-- 
Peter

Gentoo Linux: Portage 2.0.51.19.kernel-2.6.11-gentoo-r6.
i686 AMD Athlon(tm) XP 3200+.   gcc(GCC): 3.3.5-20050130.
KDE: 3.4.0. Qt: 3.3.4.

-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list