Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Feb 1999 06:20:10 -0500 (EST)
From:      "Crist J. Clark" <cjc@cc942873-a.ewndsr1.nj.home.com>
To:        thiel@genevaonline.com (Loren Thiel)
Cc:        freebsd-newbies@FreeBSD.org
Subject:   Re: wd?s?
Message-ID:  <199902241120.GAA00908@cc942873-a.ewndsr1.nj.home.com>
In-Reply-To: <199902232222.QAA01764@battleship.genevaonline.com> from Loren Thiel at "Feb 23, 99 04:17:25 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
[Your mailer, Eudora, wrapped your long lines for you. Your spacing
seems funny, using a proportional font? Very confusing.]

Loren Thiel wrote,

I took what Loren wrote, cleaned it up a bit then below each I added
any edits. If it is not changed, it is correct

> IDE, primary master, 1st dos partition    wd0s1   wd(0,a) kernel
                                                      0:wd(0,a)kernel
> IDE, primary master, 2nd dos partition    wd0s2   can it boot here?
                                                      0:wd(0,a)kernel
> IDE, primary master, 3rd dos partition    wd0s3   or here?
                                                      0:wd(0,a)kernel
> IDE, primary slave, 1st dos partition     wd1s1   wd(1,a) kernel  ?
                                                      0:wd(1,a)kernel
> IDE, primary slave, 2nd dos partition     wd1s2   not here?
                                                      0:wd(1,a)kernel
> IDE, secondary master, 1st dos partition  wd2s1   wd(2,a) kernel?
                                                      1:wd(2,a)kernel
> IDE, secondary master, 2nd dos partition  wd2s2   um?
                                                      1:wd(2,a)kernel
> IDE, secondary slave, 1st dos partition   wd3s1   wd(3,a) kernel?
                                                      1:wd(3,a)kernel
> IDE, secondary slave, 2nd dos partition   wd3s2   ?
                                                      1:wd(3,a)kernel
> 
> What if the system only had:
> IDE, primary master, 1st dos partition    wd0s1   wd(0,a)kernel
                                                      0:wd(0,a)kernel
> IDE, secondary master, 1st dos partition  wd2s1   ?
                                                      1:wd(2,a)kernel
> IDE, secondary slave CDROM
       Not sure about this one.

> Then what if I move the secondary master to primary slave.....what does
> that change?
> IDE, primary master, 1st dos partition    wd0s1   wd(0,a) kernel
                                                      0:wd(0,a)kernel
> IDE, primary slave , 1st dos partition    wd?s1   wd?
                                              wds1    0:wd(1,a)kernel
> IDE, secondary master, CDROM		    cd0?
                                              wcd0    1:wcd(0,a)kernel
However, I am not sure of the last one, the CD.

> If the drive is dedicated FreeBSD, then you would omit the "s1"?

The use of the slice number depends on the command, but when talking
about mounting drives, yes, a 'dangerously dedicated' FreeBSD drive
would have no slice number.

> I understand that at the boot> prompt, the "kernel" part is the name of
> your kernel....could be whatever.

Yep.

> Not sure how the numbers and letters correlate though.
> I hope this is clear and everyone can understand what I'm trying to figure
> out.

OK, this is the help that pops up (should be in /boot.help on your system),

---begin /boot.help---
Usage: bios_drive:interface(unit,partition)kernel_name options
    bios_drive   0, 1, ...
    interface    fd, wd or sd
    unit         0, 1, ...
    partition    a, c, ...
    kernel_name  name of kernel, or ? for list of files in root directory
    options      -a (ask name) -C (cdrom) -c (userconfig) -D (dual consoles)
                 -d (debug early) -g (gdb) -h (serial console) -P (probe kbd)
                 -r (default root) -s (single user) -v (verbose)
Examples:
    1:sd(0,a)mykernel  boot `mykernel' on the first SCSI drive when one IDE
                       drive is present
    1:wd(2,a)          boot from the second (secondary master) IDE drive
    1:sd(0,a)?         list the files in the root directory on the specified
                       drive/unit/partition, and set the default bios_drive,
                       interface, unit and partition
    -cv                boot with the defaults, then run UserConfig to modify
                       hardware parameters (c), and print verbose messages (v)
---end /boot.help---

The first number is the _BIOS_ drive number. It does not necessarily
have anything to do with the device naming in FreeBSD. If you are not
sure what the BIOS numbers are, watch the very begining of the boot
process before you even get to BootEasy. The numbers of the drives
will flash up there. The 'unit' number will match the device number
like so, wd0 is unit 0, wd1 is unit 1, sd0 is unit 0, etc. The DOS
partition number actually never plays into it (which is a only problem
if you had multiple FreeBSD slices on a drive).

I have to warn you that I am not professing to be an expert. If I
am wrong any where, someone please let me know. Also, I have heard
mixed answers about booting from CD-ROM. When does/can that work and
how? 
-- 
Crist J. Clark                           cjclark@home.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902241120.GAA00908>