NetBSD-Users archive

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

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

On Nov 5, 11:07am, Mayuresh wrote:
} On Thu, Nov 05, 2015 at 01:27:45PM +0800, Paul Goyette wrote:
} > Did you check to make sure you have a /dev/sd0j and /dev/rsd0j in
} > your /dev directory?
} > 
} > And did you check to make sure that they have the correct major/minor
} > numbers?  (4/9 for /dev/sd0j and 13/9 for /dev/rsd0j)
} Thanks. I think the second number is garbage.

     Yes, and no.  They would be correct for an i386 system.  Device
numbers are different for i386 and amd64.  Any time you do an update
or change archs, it is a good idea to rerun MAKEDEV.

     BTW, this was very obvious from the device not configured
error.  That error tells you that it was a "device" issue and had
nothing to do with the contents of the partition.  Even if it was
ffs, you wouldn't have been able to mount it.

} What is the solution?
} # ls -l /dev/*sd0j 
} crw-r-----  1 root  operator  13, 524289 Jul  5  2013 /dev/rsd0j
} brw-r-----  1 root  operator   4, 524289 Jul  5  2013 /dev/sd0j
} How do I correct these?
}-- End of excerpt from Mayuresh

Home | Main Index | Thread Index | Old Index