DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd February 2009
Crotalus's Avatar
Crotalus Crotalus is offline
New User
 
Join Date: May 2008
Posts: 7
Default fdisk Question

I need to move my file systems to another drive because my /usr is at 98% and growing. I thought that I would use dump/restore or tar to move the files. Here is my problem; I created with ver 5.4 a drive with /tmp /var /opt /usr /home. I had no problems with this configuration. I bought a new hard drive in order have space. I have upgraded to ver 6.2 since the initial install. I wanted to create the same file systems on the new drive appended with a "n" to keep them apart until I could rename them with disk label. ie /tmpn When I used fdisk to create the new partitions I was able create all of them, ad10s1, ad10s2, ad10s3, ad10s4, and "X". After some research I found that FreeBSD will allow 7 partitions . The "X" is a result of having more partitions than FreeBSD can handle. Is there a change with ver 6.2 that has reduced the number? There is a total of 7 partitions, 2 unused and 5 used. Am I SOL in trying to put 5 partitions on the drive?



Disk name: ad10 FDISK Partition Editor
DISK Geometry: 19457 cyls/255 heads/63 sectors = 312576705 sectors (152625MB)

Offset............Size(ST)...........End....Name.. PType...Desc....Subtype..Flags

.............0..............63.............62..... ..-.......12.....unused.........0
............63....31455207....31455269...ad10s1... .8.....freebsd.....165
..31455270....52420095....83875364...ad10s2.....8. ...freebsd.....165
..83875365....41929650...125805014...ad10s3....8.. ..freebsd......165
.125805015...41929650...167734664....ad10s4...8... ..freebsd.....165
167734665...144842040...312576704.......X.......8. ....freebsd.....165
312576705...........5103...312581807.......-......12.....unused.........0


The following commands are supported (in upper or lower case):

A = Use Entire Disk G = set Drive Geometry C = Create Slice F = `DD' mode
D = Delete Slice Z = Toggle Size Units S = Set Bootable | = Wizard m.
T = Change Type U = Undo All Changes W = Write Changes


Thanks!

Keith
Reply With Quote
  #2   (View Single Post)  
Old 3rd February 2009
Crotalus's Avatar
Crotalus Crotalus is offline
New User
 
Join Date: May 2008
Posts: 7
Default

Sorry! My stupid error. I making 5 slices and not 5 partitions on one slice.

Sorry about that
Reply With Quote
  #3   (View Single Post)  
Old 10th February 2010
FBSD FBSD is offline
Real Name: Joe Barbish
KING
 
Join Date: Feb 2010
Location: Angeles City, Philippines
Posts: 19
Default

THe MBR (master boot record) standard was writen when there was only MS/dos. NO GUI windows yet. Hard drives are limited to 4 msdos partions or 4 FBSD slices. FBSD fdisk is in error allowing more than 4 slices. You are SOL.
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
backup fdisk partitions gosha OpenBSD General 17 16th July 2009 03:19 AM
external drive partition question + fdisk question gosha OpenBSD General 15 15th June 2009 02:00 PM
fdisk -B does not rewrite the mbr kasse NetBSD General 0 25th November 2008 11:07 PM
fdisk can't see (Vista) ntfs partitions caesius FreeBSD General 7 23rd September 2008 01:01 AM
FreeBSD equivalent of DOS's fdisk /mbr Nobber FreeBSD General 5 3rd June 2008 07:19 AM


All times are GMT. The time now is 02:55 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