LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   sata only works when computer is fully booted (http://www.linuxquestions.org/questions/ubuntu-63/sata-only-works-when-computer-is-fully-booted-316344/)

trscookie 04-23-2005 07:07 AM

sata only works when computer is fully booted
 
hi ive just installed ubuntu on my computer and its really nice, but i have my /home directory stored on a sata device /dev/sda1 but i have to wait until ubuntu has loaded up into the gui before i can mount it i have placed the following command into the fstab

/dev/sda1 /home ext3 rw,user 0 0

but when the computer is booting it says:

/dev/sda1: error special device doesnt exist

does anyone know how i can mount the sata device on boot?? cheers

nixcraft 04-23-2005 07:17 AM

You need sata device driver kernel bootable image

Add something line as follows to your /etc/modprobe.conf file
alias scsi_hostadapter sata

Then reun depmode
depmod -ae -F /boot/System.map-2.6.xx-x.xxx 2.6.xx-x.xxx

Build the disk using mkinitrd
mkinitrd -v -f /boot/initrd-2.6.xx-x.xxx.img 2.6.xx-x.xxx

Replace .xx-x.xxx with your kernel version

Hope this helps

trscookie 04-23-2005 08:06 AM

ahhhr you legend tar very much!!!:D


All times are GMT -5. The time now is 02:09 AM.