NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

After i386 7.0 -> amd64 7.0 changeover can't mount ext2 partition



#uname -a
NetBSD laptop 7.0 NetBSD 7.0 (MYKERNEL) #0: Wed Nov  4 20:53:55 IST 2015
root@laptop:/usr/src/sys/arch/amd64/compile/MYKERNEL amd64

Nothing relevant changed in MYKERNEL:

# diff GENERIC MYKERNEL 
891c891
< ulpt* at uhub? port ? configuration ? interface ?
---
> #ulpt*        at uhub? port ? configuration ? interface ?


# disklabel /dev/sd0
# /dev/sd0d:
type: unknown
disk: FreeAgent Go   
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 625142447
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 102395904 103428096     4.2BSD   2048 16384     0  # (Cyl. 102607*- 204190*)
 c: 102395904 103428096     unused      0     0        # (Cyl. 102607*- 204190*)
 d: 625142447         0     unused      0     0        # (Cyl.      0 - 620180*)
 e:   1024000      2048 Linux Ext2      0     0        # (Cyl.      2*- 1017*)
 g: 102398310   1028160 Linux Ext2      0     0        # (Cyl.   1020 - 102605*)
 i:   8193087 205824843       swap                     # (Cyl. 204191*- 212319*)
 j: 411119352 214017993 Linux Ext2      0     0        # (Cyl. 212319*- 620175*)


Portion of /etc/fstab

/dev/sd0e       /mnt/boot       ext2fs  noauto,rw       0       0
/dev/sd0g       /mnt/pkgsrc     ext2fs  noauto,rw       0       0
/dev/sd0j       /mnt/linuxhome  ext2fs  noauto,rw       0       0


When on i386 I was able to mount all 3 of the above mounts. However, after
switching to amd64 I can mount only /dev/sd0e and /dev/sd0g.

Trying to mount /dev/sd0j gives

# mount -vvv /mnt/linuxhome/
exec: mount_ext2fs -o noauto /dev/sd0j /mnt/linuxhome
mount_ext2fs: /dev/sd0j on /mnt/linuxhome: Device not configured


I have done fsck check on all 3 partitions on Linux system and they are
all healthy.


Not able to mount this partition breaks my system badly. Request help in
resolution of this.

Mayuresh.


Home | Main Index | Thread Index | Old Index