Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi, this is probably just another boring quiestion, but I still didn't manage to handle it despite google searches. Here it goes:
root@hossu:~# fdisk /dev/hda
The number of cylinders for this disk is set to 14946.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)Command (m for help): p
Disk /dev/hda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice Boot Start End Blocks Id System
/dev/hda1 1 637 5116671 a5 FreeBSD
/dev/hda2 638 1015 3036285 83 Linux
/dev/hda3 * 1016 1879 6940080 7 HPFS/NTFS
/dev/hda4 1880 14946 104960677+ f W95 Ext'd (LBA)
/dev/hda5 1880 1942 506016 82 Linux swap
/dev/hda6 1943 5712 30282493+ 83 Linux
/dev/hda7 5713 13615 63480816 83 Linux
/dev/hda8 13616 14946 10691226 7 HPFS/NTFSCommand (m for help): b
Reading disklabel of /dev/hda1 at sector 64.BSD disklabel command (m for help): p
8 partitions:
# start end size fstype [fsize bsize cpg]
a: 1* 561* 560* 4.2BSD 2048 16384 28552
b: 561* 637 76* swap
c: 1* 637 636* unused 0 0Now, internet searches told me to do this:
root@hossu:~# mount -t ufs /dev/hda9 /mnt/freebsd -o ufstype=42bsd,ro
mount: wrong fs type, bad option, bad superblock on /dev/hda9,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I also tried to # mount -t ufs /dev/hda9 /mnt/freebsd -o ufstype=42bsd -ro but the same is printed out.Now: did I specify correctly the bsd partition? did I specify correctly the ufs type used? Why doesn't it work? And most important: How do I get it to work?
Thanks, Alex.

Should it not be 44bsd rather than 42bsd? Also try passing the options before stating the device and mount point, eg:
# mount -t ufs -o ufstype=44bsd,ro /dev/hda9 /mnt/freebsd
Also check that you have the relevent file system and partition type support enabled in your kernel.

Thanks for your answer.
Yes, I have bsd disklabels and ufs activated in the kernel:
root@hossu:/home/alex# cat /proc/partitions
major minor #blocks name3 0 120060864 hda
3 1 5116671 hda1
3 2 3036285 hda2
3 3 6940080 hda3
3 4 1 hda4
3 5 506016 hda5
3 6 30282493 hda6
3 7 63480816 hda7
3 8 10691226 hda8
3 9 4505600 hda9
3 10 611071 hda10
root@hossu:/home/alex# cat /proc/filesystems
nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev binfmt_misc
nodev sockfs
nodev usbfs
nodev pipefs
nodev futexfs
nodev tmpfs
nodev eventpollfs
nodev devpts
reiserfs
ext3
ext2
nodev ramfs
msdos
vfat
iso9660
ntfs
ufs
udf
root@hossu:/home/alex# mount -t ufs -o ufstype=44bsd,ro /dev/hda9 /mnt/freebsd
mount: wrong fs type, bad option, bad superblock on /dev/hda9,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or soroot@hossu:/home/alex# mount -t ufs -o ufstype=42bsd,ro /dev/hda9 /mnt/freebsd
mount: wrong fs type, bad option, bad superblock on /dev/hda9,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or soroot@hossu:/home/alex#
The same happens. I tried -o ufstype=42bsd because of this:
a: 1* 561* 560* 4.2BSD 2048 16384 28552
told by fdisk.Any ideas?
Thanks

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |