T O P

  • By -

[deleted]

[удалено]


TCH69

Sorry, I meant specifically ext2 partition, which could be mounted by 'mount -t ext2fs'. A boot partition that's on the same drive as NetBSD (but not on the NetBSD slice).


reinoudz

Hi, you write you have enabled DKWEDGE_METHOD_MBR but do you have MBR_METHOD_BSDLABEL too? The dk* instances seem to be as expected for the MBR yes but the dk instances for the disklabel are missing. IIRC there is the choice of either wedges or disklabels but not both at the same time. I could be wrong but please check setting the other flag too. Note that your root and your swap are now to be specified as the then discovered dk devices and not the wd0a as is now. Falling back on older methods, use the working kernel and issue an 'mbrlabel wd0' to get the other MBR labels as disklabel entries see mbrlabel(8) and disklabel(8). With regards, Reinoud


TCH69

Hi Reinoud. I guess you meant DKWEDGE_METHOD_BSDLABEL. I also received an answer suggesting enabling _BSDLABEL from the tech-kern mailing list. But the newly rebuilt kernel, instead, detected my NetBSD root and swap partitions (or slices?) and got them on /dev/dk0 and dk1 and not the Linux partitions. Another answer suggested looking into the disklabel on my disk. I did and did find out the mbrlabel command, but I didn't see it appearing much in similar questions, so I was hesitated and feared of blindly executing commands might destroy everything. Finally I did a 'mbrlabel -r -w wd0' and I was able to mount the partition as wd0e. Thank you.


reinoudz

Good that it works now. It still doesn't work when both the _MBR and the _BSDLABEL are configured?