I am using a laptop borrowed from a friend of mine. He gave me his unwanted 160GB drive from a PC he had recycled, so I rigged it to a USB enclosure so I could install Linux without touching his laptop's internal drive.
Hardware problems are ruled-out: I successfully installed Fedora 18 and Sabayon 10 in their separate partitions on this USB Hard Drive with this laptop before trying to install Mageia.
The following threads are similar but those cases actually have the drive detected, unlike my case.
- https://forums.mageia.org/en/viewtopic.php?t=399&p=2577
https://forums.mageia.org/en/viewtopic.php?t=2850&p=21468
The "Hardware Detection Tool" in the Mageia 2 DVD boot menu can detect this drive inside its enclosure:
- Code: Select all
Disk 0x80 (EDD 30)
Size: 149.04 GiB / 156.29 GB
Host Bus / Interface: PCI USB / USB
...
MBR: Grub2 (v1.97) (0xEB6390D0)
...
Additionally, OpenSUSE detected this drive with its installer, but after a successful install, the boot-time kernel would not detect it, causing a hang at the splash screen. I have the exact same kernel output from openSUSE as I do with Mageia installer.
Here is the kernel output from when I disconnected and re-plugged the drive,to see what was going on:
- Code: Select all
...
usb 2-1.3: usb disconnect, device number 4
usb 2-1.3: new high-speed USB device number 5 using ehci_hcd
usb 2-1.3: New USB device found, idVendor=04b4, idProduct=6830
usb 2-1.3: New USB device strings: Mfr=0, Product=57, SerialNumber=44
usb 2-1.3: Product: Cypress AT2+LP
usb 2-1.3: SerialNumber: DEF10C98EF63
...
I see that the enclosure is detected as some sort of device, either the kernel doesn't recognize it as an enclosure, or it is missing some software to use this device.
I would have expected the next message to include "sdb" or info about the hard drive model (a Samsung IDE Drive), but no messages came up.
Here is the output from openSUSE rescue mode, /var/log/boot.msg, relating to detecting the external hard drive:
- Code: Select all
(Booting openSUSE 12.2 DVD in rescue mode)
...
usb 2-1.3: Product: Cypress AT2+LP
usb 2-1.3: SerialNumber: DEF10C98EF63
scsi7: usb-storage 2-1.3:1.0
usbcore: registered new interface driver ums-cypress
scsi6: usb-storage 1-1.5:1.0
usbcore: registered new interface driver ums-realtek
...
sd 7:0:0:0: Direct Access SAMSUNG SP1604N 0000 PQ: 0 ANSI: 0
...
Seems like the driver "ums-cypress", and possibly "ums-realtek" are needed to detect my drive.
How can I get this to work with Mageia?
Thanks
EDIT: From the Mageia DVD installer, (first screen before detecting disks) I hit CTRL+ALT+F2. Confronted by a shell named "Drak" I found my way to /lib/modules/(kernel version)/ and then typed "insmod ums_cypress.ko.xz" and then all of a sudden /dev/sdb was now detected!!!