[opensuse-factory] edd not working?
Hi all, I'm planning to upgrade my laptop drive. While preparing for the exchange, I found that the default options to refer to the disk drive are crap for my use case: susi:~ # cat /boot/grub/device.map (hd0) /dev/disk/by-id/ata-WDC_WD2500BEVS-08VAT2_WD-WX20AC9U2733 This will work if I put the current drive into another computer, but it will fail miserably when dd'ing the contents of this disk onto another drive ;-) So I was looking for another way to refer to the disk. Probably for now, the /dev/disk/by-path will have to do, as it will stay the same in this machine. However, I was wondering what happened to edd which was usable before (maybe long ago). "modprobe edd" seems to do nothing, no links are created in /dev/disk/... /sys/firmware/edd/int13_dev80/ contains data, so something seems to be obtained from the disk... Is this no longer really supported or are the missing links simply a bug? Best regards -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Oct 25, 2011 at 08:19:29AM +0200, Stefan Seyfried wrote:
I'm planning to upgrade my laptop drive. While preparing for the exchange, I found that the default options to refer to the disk drive are crap for my use case:
susi:~ # cat /boot/grub/device.map (hd0) /dev/disk/by-id/ata-WDC_WD2500BEVS-08VAT2_WD-WX20AC9U2733
This will work if I put the current drive into another computer, but it will fail miserably when dd'ing the contents of this disk onto another drive ;-)
So I was looking for another way to refer to the disk. Probably for now, the /dev/disk/by-path will have to do, as it will stay the same in this machine.
How about using a label per disk/ partition? Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On 25.10.2011 10:55, Lars Müller wrote:
How about using a label per disk/ partition?
How do you label a drive? How does mount by label work on your crypted home partition? Of course all my non-crypt partitions are mounted by-label already :-) For the low level stuff (bootloader config etc), I'll probably just go back to old fashioned /dev/sda, as it is unlikely that this thinkpad will ever see a second drive. And it hopefully will never discover USB drives before SATA ;-) Best regards -- Stefan Seyfried "Dispatch war rocket Ajax to bring back his body!" -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Lars Müller
-
Stefan Seyfried