PDA

View Full Version : Not new but what the heck


TerryP
07-06-2006, 04:45 AM
I know this is not some thing new (read the bug report). I just installed PCBSD 1.1 on my 85GB partition, updated to 1.2beta.

But look at this:
/etc/fstab 1.11a

# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s3b none swap sw 0 0
/dev/ad0s3a / ufs rw 1 1
/dev/ad0s1 /mnt/ad0s1 auto rw,noauto 0 0
/dev/ad0s2a /mnt/ad0s2a auto rw,noauto 0 0
/dev/ad0s2e /mnt/ad0s2e auto rw,noauto 0 0
/dev/ad0s2f /mnt/ad0s2f auto rw,noauto 0 0
/dev/ad0s4 /mnt/ad0s4 auto rw,noauto 0 0
/dev/da1 /mnt/da1 auto rw,noauto 0 0
/dev/da2 /mnt/da2 auto rw,noauto 0 0
/dev/da3 /mnt/da3 auto rw,noauto 0 0
/dev/acd0 /mnt/acd0 auto ro,noauto 0 0
/dev/acd1 /mnt/acd1 auto ro,noauto 0 0
/dev/cd0 /mnt/cdrom0 auto ro,noauto 0 0
/dev/cd1 /mnt/cdrom1 auto ro,noauto 0 0
/dev/da4 /mnt/da4 auto rw,noauto 0 0
/dev/da0s1 /mnt/da0s1 auto rw,noauto 0 0

da0s1 is really da4s1 according to my last primary (1.11a) install inless the # of my USB ports can change. slice 2 is a 1.2b install that will be reformated to 1.11a. Slice 3 is the install in Question, Slice 1 is Windows, Slice 4 is an LBA extended partition to quote the installer. It's sliced up into backup, personal, and swap/storage reserve. (must be manually configured).

Now here is ./etc.fstab 1.2beta on the same system

# Device Mountpoint FStype Options Dump Pass#
/dev/da1 /mnt/da1 auto rw,noauto 0 0
/dev/da2 /mnt/da2 auto rw,noauto 0 0
/dev/da3 /mnt/da3 auto rw,noauto 0 0
/dev/acd0 /mnt/acd0 auto ro,noauto 0 0
/dev/acd1 /mnt/acd1 auto ro,noauto 0 0
/dev/cd0 /mnt/cdrom0 auto ro,noauto 0 0
/dev/cd1 /mnt/cdrom1 auto ro,noauto 0 0
/dev/ad4s1 /mnt/ad4s1 auto rw,noauto 0 0
/dev/ad4s2a /mnt/ad4s2a auto rw,noauto 0 0
/dev/ad4s2e /mnt/ad4s2e auto rw,noauto 0 0
/dev/ad4s2f /mnt/ad4s2f auto rw,noauto 0 0
/dev/ad4s3 /mnt/ad4s3 auto rw,noauto 0 0
/dev/ad4s4 /mnt/ad4s4 auto rw,noauto 0 0
/dev/ad4s5 /mnt/ad4s5 auto rw,noauto 0 0
/dev/ad4s6 /mnt/ad4s6 auto rw,noauto 0 0
/dev/ad4s7 /mnt/ad4s7 auto rw,noauto 0 0
/dev/da0 /mnt/da0 auto rw,noauto 0 0
/dev/da4s1 /mnt/da4s1 auto rw,noauto 0 0

As you can see all partitions are shown and set to no auto and given a mount point, the USB port da0s1 is now da4s1 as should be. (used with USB flashdrive). However this installs PCBSD partition is only listed as slice 3, noauto mount to default. The SATA HDD is detected as drive 5

As was read here (http://bugs.pcbsd.org/bug.php?op=show&bugid=49&pos=2)

Now my "What the heck" is why on earth is the install slices data looking like a scrambled egg? i.e. no partitions within the slice nore a / fs entry. Yet everything else is peachy,

I'm going to check over my BIOS for policial correctness, but that is just, hmmm werid? hehehe.

mal.exe
07-06-2006, 03:31 PM
That's true....no / and no swap partition :shock:

antik
07-06-2006, 05:28 PM
That's true....no / and no swap partition :shock:

You won't see swap with mount.

# swapinfo -h
Device 1K-blocks Used Avail Capacity
/dev/ad0s2b 1048576 0B 1.0G 0%

mal.exe
07-06-2006, 05:31 PM
I know..

But I am not talking about mount, I am talking about /etc/fstab

It is supposed to appeared there no ?

antik
07-06-2006, 05:35 PM
I know..

But I am not talking about mount, I am talking about /etc/fstab

It is supposed to appeared there no ?

My 1.2beta fstab:

# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s2b none swap sw 0 0
/dev/ad0s2a / ufs rw 1 1
/dev/ad0s2e /usr ufs rw 1 1

/dev/ad0s2f /var ufs rw 1 1

/dev/ad0s1 /mnt/ad0s1 auto rw,noauto 0 0
/dev/ad0s3 /mnt/ad0s3 auto rw,noauto 0 0
/dev/ad0s4.journal /mnt/ad0s4 ufs rw,async,gjournal 2 2
/dev/fd0 /mnt/fd0 auto rw,noauto 0 0
/dev/cd0 /mnt/cdrom0 auto ro,noauto 0 0

mal.exe
07-06-2006, 05:38 PM
/dev/ad0s2b none swap sw 0 0


Yeah, see it is there. Why is it not there in the terryp's fstab ? :cry:

antik
07-06-2006, 05:48 PM
/dev/ad0s2b none swap sw 0 0


Yeah, see it is there. Why is it not there in the terryp's fstab ? :cry:

Now I understand problem- Terry updated 1.11a to 1.2b, but there is STATIC_ATA_ID "problem" and he was unable to mount all partitions properly- all drive id's was changed. I think, he accidentally deleted swap while manually updated hes fstab file.

TerryP
07-06-2006, 11:06 PM
I know the funny thing is I have to set my BIOS for SATA from RAID to IDE mode to get ad0 instead of ad4. Yet when it asks me to mount root at boot (nice rym) it mounts it RO & starts a shell. On reboot BIOS also gave me errors.

If I set it back to RAID mode it comes up as ad4 but works fine after I tell it root is on ad4s3 aside from the boggered fstab.

I have the options of IDE (seems to cause problems with my hardware), RAID which might be a perk if I ever get another 500GB SATA, or AHCI (http://en.wikipedia.org/wiki/AHCI) which I can't try.