Re: Firewire Drives during install and boot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In answer to my own quest this is how you do it.

Begin by making sure you can manually see the drive by:

1. Loading the kernel modules by executing the following:
/sbin/insmod ieee1394
/sbin/insmod ochi1394
/sbin/insmod raw1394
This loads the modules to connect to the firewire controller and drive.

2. Download this shell script to allow the bus to be rescanned since firewire drives act like scsi devices. You can download the shell script at: http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh

3. Tail your log file to see which sd is the firewire drive. You can use the following:
tail -100 /var/log/messages|grep scsi
which produced:
Dec 31 08:26:06 reddot kernel: scsi singledevice 0 0 7 0
Dec 31 08:26:06 reddot kernel: scsi singledevice 1 0 0 0
Dec 31 08:26:06 reddot kernel: Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Dec 31 08:26:06 reddot kernel: scsi singledevice 1 0 1 0

Now we know that the scsi drive is sda. Now you can partition and format the drive.

To boot off this drive as an additional mount point you simply add the following to the end of the /etc/rc.d/rc.local file:
/sbin/insmod ieee1394
/sbin/insmod ohci1394
/sbin/insmod raw1394
/usr/local/bin/rescan-scsi-bus.sh
mount /dev/sda5 /data (you can mount where ever you need to mount)

I still don't know of a way to get a firewire drive to be a system mount point such as "/" or "/usr" because putting the mount point on the firewire drive will boot you into maintanence mode with an error trying to mount the drive..

Good Luck,
Scott


Scott Pumer wrote:

Hi All,

I have a firewire (ieee1394) drive connected to my 8.0 system that was recognized during install and allowed me to partition it exactly as you would any other drive. However, though the entry is in fstab on boot it fails to recognize the drive. The failure puts me into maintanence mode and will not allow normal boot to proceed until i remove the fstab entry.

I got it working by changing the fstab entry to treat it similar to a floppy or CD drive.

Is it possible to get the drive to be reconized at boot and automount like the rest of the file system?

Thanks,
Scott





--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux