9.0 - Mount to root.. Sorted..
Hi all, As Warren Block mentioned: If there are no ada devices in /dev at all, I'd guess too much has been removed from the custom kernel. So I've checked my custom kernel config (based on GENERIC) indeed made some changes to the [S]ATA disk section after which I rebuilt installed the kernel again.. The difference now with previous was that I *was* able to boot in single-user mode, mount, label my disk with tunefs, update my /etc/fstab accordingly managed to install the world as a final step to my upgrade.. Problem solved, many thanx for all the assistance.. Regards, E. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrade to 9.0 - Mount to root failed..
Greetings all, It's my 1st time on any of the FreeBSD lists I'm fairly new to FreeBSD to please bear with me.. So I've upgraded from 8.1 to 9.0 now the system can't mount in single user mode to go through the final step of installing the world.. # cvsup.. Done.. # make buildworld.. Done.. # make buildkernel.. Done.. # make installkernel.. Done.. # reboot in single user mode to install world.. Failed to mount to /dev/ad2s1a.. {Yes, that *is* my HD} I rebooted from the loader prompt with my old (GENERIC) kernel came up with the following.. peggy# ls -l /dev/ad* crw-r- 1 root operator0, 79 Apr 8 08:47 /dev/ad2 crw-r- 1 root operator0, 82 Apr 8 08:47 /dev/ad2s1 crw-r- 1 root operator0, 84 Apr 8 08:47 /dev/ad2s1a peggy# cat /etc/fstab # DeviceMountpointFStypeOptionsDumpPass# /dev/ad2s1a/ufsrw11 /dev/acd0/cdromcd9660ro,noauto00 peggy# disklabel /dev/ad2s1a # /dev/ad2s1a: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 2004401704.2BSD 2048 16384 28552 c: 200440170unused0 0 # raw part, don't edit peggy# fsck ** /dev/ad2s1a (NO WRITE) ** Last Mounted on / ** Root file system ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups 415735 files, 3148200 used, 1702923 free (40563 frags, 207795 blocks, 0.8% fragmentation) peggy# kldstat Id Refs AddressSize Name 17 0xc040 bb5504 kernel 21 0xc2e1a000 26000linux.ko I know there's many 'mount' problem discussions out there but I can't seem to find out how to overcome this problem.. Many thanx in advance for any assistance.. Regards, E. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Upgrade to 9.0 - Mount to root failed..
Hi Matthew, Thanx for the quick reply.. Can't get it to work though.. On 08/04/2012 09:53, Airosoβicz fb. wrote: So I've upgraded from 8.1 to 9.0 now the system can't mount in single user mode to go through the final step of installing the world.. As was mentioned else-thread, you are probably hitting problems due to the name change from ad(4) to ada(4) for PATA/SATA disk devices. It's starting to make sense now.. Mounting ufs:/dev/ad*a*2s1a i.o. from ufs:/dev/ad2s1a simply doesn't work because as I've put in my original post with # ls -l /dev/ad* it doesn't exist.. Only ad2,ad2s1 ad2s1a do.. One way to fix this is simply to type in the new boot device in the loader and then edit /etc/fstab from single user mode Which boot device..? I wish it was simple.. The preferred method nowadays is to label the partitions, so probably tunefs(8) labelling would be the best choice to get you through the 8.1 - 9.0 reboot. ie. Create the label: # tunefs -L ROOT /dev/as2s1a # man 8 tunefs: The tunefs can not be run on an active filesystem. To change an active filesystem it must be downgraded to read only or to unmounted.. [Which I've done with # mount -r -f..] # tunefs: /dev/ad2s1a: failed to write superblock.. I've updated the /etc/fstab with the ROOT label but I can't get the single-user mount nor the tunefs to work.. Regards, E. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org