DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 9th December 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default Mounting an FS with no MBR/disklabel

Yesterday a coworker (Yes, it really was a coworker) reinstalled Windows for a customer without making a backup resulting in the complete loss of that company's complete administration.

One of the things I did/tried for recovery was running photorec, and stored the recovered stuff on a new hard disk.
I was in something of a hurry and just did newfs /dev/ad6, I didn't make a MBR or disklabel.

I can't seem to mount the filesystem now mount says ad6: Invalid argument. Maybe I am missing something very obvious ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #2   (View Single Post)  
Old 9th December 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

According to a recent post in http://lists.freebsd.org/pipermail/f...er/209112.html it should be possible.

Does disk/bsdlabel spoof a 'c' partition for ad6? Or have I been too long in OpenBSD land
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #3   (View Single Post)  
Old 10th December 2009
roddierod's Avatar
roddierod roddierod is offline
Real Name: Rod Person
VPN Cryptographer
 
Join Date: Apr 2008
Location: Pittsburgh, Pa
Posts: 437
Default

I just did the same thing earlier this week. I can mount the disk as either

Code:
mount /dev/da1 /1
Code:
mount /dev/da1s1 /1
i'm running FreeBSD 8, but I'm sure I did such things in 7.
__________________
"The basic tool for the manipulation of reality is the manipulation of words. If you can control the meaning of words, you can control the people who must use the words." -Philip K. Dick
Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disklabel problem sateenkaari NetBSD Installation and Upgrading 3 13th August 2009 02:51 AM
Moving linux partitions out of the BSD disklabel/slice fbsduser NetBSD Installation and Upgrading 5 4th March 2009 07:07 AM
disklabel don't see OpenBSD partition piotrk OpenBSD General 4 25th September 2008 06:14 PM
Mounting sniper007 FreeBSD General 7 2nd July 2008 06:50 AM
mounting UFS hirohitosan Other BSD and UNIX/UNIX-like 2 27th June 2008 02:40 PM


All times are GMT. The time now is 10:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick