-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I try to discover why the device name changed and find something. I run lspci and find 2 ide interface, as show below: 00:05.0 IDE interface: Silicon Image, Inc. PCI0680 Ultra ATA-133 Host Controller (rev 02) /sys/block/hda/device/driver->../../../../../bus/ide/drivers/ide-disk 00:0f.1 IDE interface: Broadcom CSB6 RAID/IDE Controller (rev a0) /sys/block/hda/device/driver->../../../../../bus/ide/drivers/ide-cdrom So, I disable the cdrom in bois. The hard disk name is /dev/hda now.
Question is: what is the order kernel detect the hardware? when will it detect cdrom before hard disk and assign name hda to cdrom? Andrew Sackville-West 写道: > On Sun, Nov 04, 2007 at 08:26:03PM -0800, Andrew Sackville-West > wrote: >> On Mon, Nov 05, 2007 at 10:26:52AM +0800, hhding.gnu wrote: >>> It seems it works with some filesystem and do *NOT* work for >>> swap partition. here as I show below, hde1 is swap partition >>> and there are no label or uuid exists. as I know, tune2fs can >>> add uuid or label for ext2/ext3 partitions. How can I add uuid >>> or label for swap partition then? >>> >> sorry no help on swap. >> >>> Another question is, can I add uuid as device name in grub's >>> menu.lst? (something like kernel /boot/vmlinuz-2.6.17-2-686 >>> root=/dev/sde2 ro) >> root=uuid=/dev/sde2, I think. > > ummm... that should be > > root=uuid=<uuid of /dev/sde2>, I think. > > > A > >> A > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHLshyJo9Njjkvy34RAvT7AKDmPwjDdf0iBoNvV9aBMfOkyh8J1QCgtbUK 0su2uBp2VBLezHGNM8WM0oc= =+Sm8 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]