SunQuest
           BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old March 26th, 2004, 07:55 AM
Vehemence Vehemence is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 38 Vehemence User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Mounting problem on FreeBSD

Alright, so I was editing /etc/fstab and once again I spelt something wrong. You'd think I learn my lesson the first two times, but no.

Anyway, I spelt the device name wrong. /dev/ad0s1 I spelt /dev/ads01.

When I rebooted, it came across this prompt to manual mount a drive. So what I did was ufs:/dev/ad0s2 which is my FreeBSD partition. Now, after that it goes into 'initial host setup' and freezes there, or it seems to freeze I waited around 30 minutes.

Any ideas?

Reply With Quote
  #2  
Old March 27th, 2004, 08:02 AM
munkfish's Avatar
munkfish munkfish is offline
funky munky
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Jul 2001
Location: UK
Posts: 1,446 munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level)munkfish User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 18 h 33 m
Reputation Power: 10
Not sure what you mean by:

Quote:
So what I did was ufs:/dev/ad0s2 which is my FreeBSD partition.


Normally if you spelt something wrong in /etc/fstab or /etc/rc.conf etc etc you'd:
  • enter single user mode - usually you don't have much choice in this as you know, the OS does it for you
  • (re)mount the partition containing /etc/fstab in READ/WRITE mode (usually the mode is set to read-only in single user mode). To check what mode the disk is mounted, issue '/sbin/mount' and check to see if 'read only' is listed in brackts to the right of any mounted partitions. If it's read-only you need to toggle the read mode to read/write - do this using '/sbin/mount -u /'. You're now ready to write to the partition.
  • finally make any changes to /etc/fstab using your favourite editor and reboot - remember though that you may need to use the full path to the editor '/usr/bin/vi' for example instead of just 'vi'.

For more info make sure to read the manpage for mount(8).

Reply With Quote
  #3  
Old March 27th, 2004, 07:37 PM
Vehemence Vehemence is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 38 Vehemence User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I don't think you understand, I was not able to boot up until entering 'manual mount'. It doesn't matter now I reinstalled.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Mounting problem on FreeBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway