LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-23-2004, 01:16 AM   #1
catenary
LQ Newbie
 
Registered: Apr 2004
Distribution: FreeBSD 4.10
Posts: 6

Rep: Reputation: 0
adding an additional partition to my freebsd system


Hello, I'm a fairly inexperienced FreeBSD user, and I have a problem. I was running (arch) linux before I installed FreeBSD on a small leftover section of my hard drive. I've gotten it running, and I'm happy with it, but my /usr partition is filling up quickly. I want to wipe the old partition which had arch on it, and mount it as the /usr/local partition, copying all of the data from the old /usr/local onto it. However, I don't know exactly how to do this, and I don't see it in the handbook. I tried running sysinstall and fdisking the arch partition and making it FreeBSD, and then making it the /local slice with disklabel (just to get it working, first of all), but this hasn't been working. Can anyone help me?

Thanks
 
Old 06-23-2004, 01:26 AM   #2
Craigwd
Member
 
Registered: Dec 2001
Location: Mankato, MN
Distribution: Caldera OpenLinux 2.3 and Morphix
Posts: 193

Rep: Reputation: 30
I would recommend using Partition Magic, I use it whenever I have partitioning problems and believe me I've dealt with some of the most vexing ones. If you want a free solution try Ranish Partition Manager. Here's a link to the latest stable version (they also have betas, but use them at your own risk): http://www.ranish.com/part/part240.zip
 
Old 06-23-2004, 01:39 AM   #3
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Okay,

Where is /arch located? /dev/ad0s1 or /dev/ad1s0 or something.

I assume that it is linux and is located on a primary partition? I could be wrong.

But find where the partition is located according to BSD. Then do a disklabel /dev/ad0s1 and create a bsd slice. Just use the whole partition. Then newfs /dev/ad0s1a.

You are going to want to read the man pages for disklabel and newfs if you want anything more than just a vanilla format. And make sure you have the correct partition. Try to mount it to check it first.
 
Old 06-23-2004, 01:42 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
If you need some pointers on finding it (I assume you know where it is but maybe you don't) I can try and help. Or you can load linux and not the device name... then use that to tell you where it is under BSD.

edit:

I assume you have one IDE hard drive.

If you could just do a `fdisk /dev/ad0` and post the output here.
Then do a `bsdlabel /dev/ad0s1` Or s2,s3,s4... whatever slices you have made. That would be enough information for me to give you more detailed steps.

Last edited by frob23; 06-23-2004 at 02:15 AM.
 
Old 06-23-2004, 10:17 AM   #5
Craigwd
Member
 
Registered: Dec 2001
Location: Mankato, MN
Distribution: Caldera OpenLinux 2.3 and Morphix
Posts: 193

Rep: Reputation: 30
Thanks, but I think I'll stick to my Morphix install for the moment.
 
Old 06-23-2004, 12:11 PM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
I just read your comment about /stand/sysinstall not working. Did you press "w" after you had made changes? To write them out? You don't do that during an install so you can go back before committing yourself to the changes... but here you want to write it out. Press "w" on both screens after you have made the changes you want. It will work. Then you just need to add it to /etc/fstab
 
Old 06-23-2004, 02:32 PM   #7
Craigwd
Member
 
Registered: Dec 2001
Location: Mankato, MN
Distribution: Caldera OpenLinux 2.3 and Morphix
Posts: 193

Rep: Reputation: 30
Are you referring to my post in the Debian forum "internet broke"?
 
Old 06-23-2004, 02:35 PM   #8
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Craigwd,

Nope, I am referring to this thread... and this original poster. I have no idea what you are talking about. I don't traditionally read the [linux] distribution specific areas of this board because I don't have any on hand.
 
Old 06-23-2004, 05:11 PM   #9
catenary
LQ Newbie
 
Registered: Apr 2004
Distribution: FreeBSD 4.10
Posts: 6

Original Poster
Rep: Reputation: 0
never mind, the problem is solved. For some reason, FreeBSD does not accept

#mount local/

but accepts

#mount /local/

even though I am in the root directory in both cases. I had used the W command, in response to your question, frob. Thank you both for your help.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FC2: Adding additional language support kimchee411 Linux - Newbie 0 10-10-2004 02:49 PM
Adding an additional Navigation row? Poetics LQ Suggestions & Feedback 5 05-20-2004 02:30 AM
Adding Additional HD With Raid Present LeeForkenbrock Linux - Hardware 2 07-23-2003 04:43 PM
Adding Additional Network Cards CRF Linux - Networking 4 06-05-2001 01:52 AM
Adding additional Network to VPN Shoki Linux - Networking 0 05-24-2001 01:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 06:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration