|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
boot0cfg or grub and mount (HARDDISK PROBLEM)
Hi everyone,
The following is what my fdisk editor shows under sysinstall Code:
Disk name: ad4 FDISK Partition Editor DISK Geometry: 60801 cyls/255 heads/63 sectors = 976768065 sectors (476937MB) Offset Size(ST) End Name PType Desc Subtype Flags 0 63 62 - 12 unused 0 63 90188847 90188909 ad4s1 8 freebsd 165 90188910 122865120 213054029 ad4s4 8 freebsd 165 213054030 763714035 976768064 ad4s2 8 freebsd 165 976768065 5103 976773167 - 12 unused 0 ad4s1 and ad4s2 are just empty partitions. When I boot up, I get the following: F1: FreeBSD F2: FreeBSD F4: FreeBSD How do I disable both F1 and F2 in the boot menu? I tried using boot0cfg but failed miserably, under man boot0cfg Code:
To enable just slices 1 and 2 in the menu: boot0cfg -m 0x3 ad0 Code:
boot0cfg -m 0x1 ad4 or boot0cfg -m 0x8 ad4 How do I mount ad4s1 and ad4s2 under /usr? please look at what I did: Code:
[disappearedng@ /]$ cd /usr [disappearedng@ /usr]$ ls X11R6 bin compat games home include lib libdata libexec local mount obj ports sbin share src [disappearedng@ /usr]$ cd mount/ [disappearedng@ /usr/mount]$ ls 350gb 50gb [disappearedng@ /usr/mount]$ mount /dev/ad4 ad4 ad4s1 ad4s1c ad4s2 ad4s2c ad4s4 ad4s4a ad4s4b ad4s4c ad4s4d ad4s4e ad4s4f [disappearedng@ /usr/mount]$ sudo mount /dev/ad4s1 50gb/ Password: mount: /dev/ad4s1 : Invalid argument [disappearedng@ /usr/mount]$ sudo mount /dev/ad4s2 350gb/ mount: /dev/ad4s2 : Invalid argument [disappearedng@ /usr/mount]$ In addition, How do I get FreeBSD to automatically mount when the system starts?? Thx |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
GRUB on previous Linux installation | indiocolifa | FreeBSD Installation and Upgrading | 2 | 26th March 2009 06:50 AM |
Having trouble adding 7.0 to GRUB 0.97 | Arenlor | FreeBSD General | 4 | 26th June 2008 01:02 AM |
Harddisk problem. | disappearedng | FreeBSD General | 5 | 18th June 2008 08:21 PM |
Mounting External harddisk | rex | FreeBSD General | 1 | 3rd June 2008 09:34 PM |
mount on boot problem | topche | FreeBSD General | 7 | 11th May 2008 04:07 PM |