Changeset 8035 for 2.0


Ignore:
Timestamp:
May 25, 2010, 5:36:30 PM (15 years ago)
Author:
rick
Message:

Unable to update MBR following guide-lines of boot0cfg(8) worked

Location:
2.0/nanobsd/nanobsd/files/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 2.0/nanobsd/nanobsd/files/tools/updatep1

    r8034 r8035  
    5252fsck_ffs -n /dev/${NANO_DRIVE}s1a
    5353
     54# Special foo needed to allow MBR updates on mounted drive
     55sysctl kern.geom.debugflags=0x10
    5456echo "a 1" | fdisk -f - ${NANO_DRIVE}
    5557boot0cfg -s 1 -v ${NANO_DRIVE}
  • 2.0/nanobsd/nanobsd/files/tools/updatep2

    r8034 r8035  
    6060trap 1 2 15 EXIT
    6161
     62# Special foo needed to allow MBR updates on mounted drive
     63sysctl kern.geom.debugflags=0x10
    6264echo "a 2" | fdisk -f - ${NANO_DRIVE}
    6365boot0cfg -s 2 -v ${NANO_DRIVE}
Note: See TracChangeset for help on using the changeset viewer.