Date: Sat, 20 Oct 2001 13:14:27 -0700 From: Will Yardley <william@hq.newdream.net> To: questions@freebsd.org Subject: disk partitions Message-ID: <20011020131427.C5276@hq.newdream.net>
next in thread | raw e-mail | index | archive | help
(please CC me on reply as i'm not on this list anymore). i had the boot drive in my computer go out. this isn't a big deal since the second disk is bootable and is the one that i use 99 percent of the time anyway (there's a debian partition on the other disk). however now i'd like to switch the fbsd disk to be the ide primary.. however i'm having the following problem. since the device entries are different for ad0 and ad1, if i switch the drive's jumpers to be the primary, freebsd won't boot. i can set the root path to ad0s1a or something similar and it will boot in read only mode; however if i try to mount any of the partitions rw, it won't since obviously there aren't the correct ad0 /dev entries. since i'm in ro mode, i can't just re-run MAKEDEV... i tried changing the fstab entries from ad1x to ad0x but that didn't work either of course. AFAIK it's not possible to 'copy' nodes; is there any way to do this? i assume i just need to do mknod by hand with the correct options? here are the relevant devices. aura% ls -al /dev/ad0* crw-r----- 2 root operator 116, 0x00010002 Oct 19 13:35 /dev/ad0 crw-r----- 2 root operator 116, 0 Oct 19 13:35 /dev/ad0a crw-r----- 2 root operator 116, 1 Oct 19 13:35 /dev/ad0b crw-r----- 2 root operator 116, 2 Oct 19 13:35 /dev/ad0c crw-r----- 2 root operator 116, 3 Oct 19 13:35 /dev/ad0d crw-r----- 2 root operator 116, 4 Oct 19 13:35 /dev/ad0e crw-r----- 2 root operator 116, 5 Oct 19 13:35 /dev/ad0f crw-r----- 2 root operator 116, 6 Oct 19 13:35 /dev/ad0g crw-r----- 2 root operator 116, 7 Oct 19 13:35 /dev/ad0h crw-r----- 2 root operator 116, 0x00020002 Oct 19 13:35 /dev/ad0s1 crw-r----- 2 root operator 116, 0x00030002 Oct 19 13:35 /dev/ad0s2 crw-r----- 2 root operator 116, 0x00040002 Oct 19 13:35 /dev/ad0s3 crw-r----- 2 root operator 116, 0x00050002 Oct 19 13:35 /dev/ad0s4 aura% ls -al /dev/ad1* crw-r----- 2 root operator 116, 0x0001000a Sep 22 13:40 /dev/ad1 crw-r----- 2 root operator 116, 8 Sep 22 13:40 /dev/ad1a crw-r----- 2 root operator 116, 9 Sep 22 13:40 /dev/ad1b crw-r----- 2 root operator 116, 10 Sep 22 13:40 /dev/ad1c crw-r----- 2 root operator 116, 11 Sep 22 13:40 /dev/ad1d crw-r----- 2 root operator 116, 12 Sep 22 13:40 /dev/ad1e crw-r----- 2 root operator 116, 13 Sep 22 13:40 /dev/ad1f crw-r----- 2 root operator 116, 14 Sep 22 13:40 /dev/ad1g crw-r----- 2 root operator 116, 15 Sep 22 13:40 /dev/ad1h crw-r----- 2 root operator 116, 0x0002000a Sep 22 13:40 /dev/ad1s1 crw-r----- 2 root operator 116, 0x00020008 Oct 31 2000 /dev/ad1s1a crw-r----- 2 root operator 116, 0x00020009 Oct 31 2000 /dev/ad1s1b crw-r----- 2 root operator 116, 0x0002000a Oct 31 2000 /dev/ad1s1c crw-r----- 2 root operator 116, 0x0002000b Oct 31 2000 /dev/ad1s1d crw-r----- 2 root operator 116, 0x0002000c Oct 31 2000 /dev/ad1s1e crw-r----- 2 root operator 116, 0x0002000d Oct 31 2000 /dev/ad1s1f crw-r----- 2 root operator 116, 0x0002000e Oct 31 2000 /dev/ad1s1g crw-r----- 2 root operator 116, 0x0002000f Oct 31 2000 /dev/ad1s1h crw-r----- 2 root operator 116, 0x0003000a Sep 22 13:40 /dev/ad1s2 crw-r----- 2 root operator 116, 0x0004000a Sep 22 13:40 /dev/ad1s3 crw-r----- 2 root operator 116, 0x0005000a Sep 22 13:40 /dev/ad1s4 -- GPG Public Key: http://infinitejazz.net/will/pgp/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011020131427.C5276>