Date: Mon, 11 Sep 2000 17:21:23 -0500 From: "Mike Nicholas" <miken@prairiesys.com> To: <freebsd-questions@freebsd.org> Subject: Need MBR/boot to use da0 instead of da1 Message-ID: <00d601c01c3e$9eccb5e0$fa0a0c99@headquarters.prairiesys.com>
next in thread | raw e-mail | index | archive | help
Hey all- I have 2 SCSI disks on one adaptec SCSI card on my 4.1 Release version BSD box. I screwed up my install and accidentally put the MBR on the second disk. I used the FreeBSD boot manager (booteasy-- ohh yeahh). My kernel is on the first disk on the first slice and when the boot loader comes up it defaults to 1:da(1,a)/kernel When I specify 0:da(0,a)/kernel I get it to boot up fine. Unfortunately this is going to be located remotely and I need it to be able to boot correctly without intervention. I have tried including rootdev="disk0s1a" in my /boot/loader.conf file and that doesn't seem to make any difference. I have also tried: "boot0cfg -B /dev/da0" and a "disklabel -B /dev/da0s1" and it still doesn't work. Any clue what I am doing wrong, and why it keeps defaulting to the 2nd disk? I tried to include some stuff to help troubleshoot... here is the relevant parts of dmesg: da1 at ahc0 bus 0 target 1 lun 0 da1: <SEAGATE ST31230N 0300> Fixed Direct Access SCSI-2 device da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da1: 1010MB (2069860 512 byte sectors: 64H 32S/T 1010C) da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST32550N 0016> Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 2047MB (4194058 512 byte sectors: 255H 63S/T 261C) bash-2.03# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 124015 24523 89571 21% / /dev/da1s1e 871263 64595 736967 8% /backups /dev/da0s1e 1488607 226852 1142667 17% /usr /dev/da0s1f 223215 653 204705 0% /var procfs 4 4 0 100% /proc P.S. - Please CC me on replies... Thanks, Mike Nicholas email: miken@prairiesys.com 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?00d601c01c3e$9eccb5e0$fa0a0c99>