DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st March 2010
ros2468 ros2468 is offline
Port Guard
 
Join Date: Oct 2009
Posts: 14
Default Partition help needed.

My current setup looks like this.
fdisk:
Code:
0: 00
1: 00
2: 00
3: A6 0 1 1 - 3647 254 63 [ 63: 58605057 ] OpenBSD
disklabel:
Code:
a: 30000000 63 BSD 2048 16384 1
c: 58605120 0 unused 0 0
e: 15000000 30000063 BSD 2048 16384
h: 13605057 45000063 swap
---

Question.
I want to make the unused bsd partition into a regular fdisk fat32 partition and how do i do this.

Last edited by J65nko; 22nd March 2010 at 02:07 AM. Reason: [code] and [/code] tags
Reply With Quote
  #2   (View Single Post)  
Old 21st March 2010
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The formatting of the output is awful, you can use [code][/code] tags to prevent that and make things easier for us.

There is no unused partition, c is a special partition representing the entire disk.

If you created your OpenBSD A6 (MBR) partition without saving any space for your FAT32 partition, you will probably be unable to salvage your current disk configuration.

Please post the full output of fdisk/disklabel again, but use the formatting tags I mentioned above.
Reply With Quote
  #3   (View Single Post)  
Old 21st March 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by ros2468 View Post
I want to make the unused bsd partition into a regular fdisk fat32 partition and how do i do this.
Your fdisk(8) output only indicates that one MBR partition is used & this single MBR partition uses the entire disk.

There appears to be no free space for making another partition for FAT32.

If you believe that partition "c" is free space in the disklabel(8) output, you are incorrect. Partition "c" represents the entire disk from the disklabel perspective. As such, it is always marked unused.

It appears that when OpenBSD was installed, you chose to provide the entire disk for its usage. If you want to create another partition (FAT32 or otherwise...) you will need to reinstall. Be sure to save any important files first.

Before proceeding, take the time to seriously study Section 4 of the FAQ as this discusses installation issues.

ros2468, in the future please provide the complete output from commands. You have had a habit of picking & choosing what is presented, & this simply consumes time in trying to figure out what is missing & why you omit it. Be respectful of the effort you are asking of others to help solve your problems. Provide complete information, & provide all information requested.

Lastly, it would be worth your time to read the following thread:

http://www.daemonforums.org/showthread.php?t=596
Reply With Quote
  #4   (View Single Post)  
Old 21st March 2010
ros2468 ros2468 is offline
Port Guard
 
Join Date: Oct 2009
Posts: 14
Default

a: 30000000 63 4.2BSD 2048 16384 1
c: 58605120 0 unused 0 0
e: 15000000 30000063 4.2BSD 2048 16384 1
h: 13605057 45000063 swap


my plan is to delete storage partition e:. Is reinstall realy nessesary?
Reply With Quote
  #5   (View Single Post)  
Old 22nd March 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by ros2468 View Post
my plan is to delete storage partition e:. Is reinstall realy nessesary?
We don't know, we can't read minds, nor do we have access to your system.

Each of these partitions -- a, e, and h -- are probably mounted, and contain useful things.

But the point is moot. e is in the middle of your OpenBSD partition, which must remain a contiguous space. As Ocicat mentioned, already, you WILL NEED TO REINSTALL, unless you possess Unix systems administration wizardry you have not yet shown you possess.
Reply With Quote
  #6   (View Single Post)  
Old 22nd March 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by ros2468 View Post
my plan is to delete storage partition e:.
I suspect that by deleting partition "e", your current installation will no longer be usable.

You can find out what portion of the overall filesystem is mounted on partition "e" by studying both the manpages for df(1) or mount(8) and studying the output of these commands. In particular, output of the following is what you need to understand:
  • $ mount
  • $ df -h
Yes, the output of both will appear similar in comparison. However, the motivation behind each command is different. That difference is described in the manpages.

If you want us to comment on the output, provide the full output posted between [CODE & [/CODE] tags. Anything less is really just wasting our time.
Quote:
Is reinstall realy nessesary?
If you want an additional FAT32 partition, yes. From the information presented, you don't have free space available -- meaning free space which isn't already assigned to your OpenBSD A6 MBR partition.

I note that you tend to append a colon to any disklabel(8) partition described. Be aware that disklabel(8) partitions are not the same as drive letters on Windows. Treating them as equivalent will only get you into trouble.
Reply With Quote
  #7   (View Single Post)  
Old 22nd March 2010
ros2468 ros2468 is offline
Port Guard
 
Join Date: Oct 2009
Posts: 14
Default

This is the idea. I delete the last two bsd partition( e and swap h), then rewrite the mbr to contain multiple partitions starting where partition a ends. Is there something wrong in that?
Reply With Quote
  #8   (View Single Post)  
Old 22nd March 2010
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by ros2468 View Post
Is there something wrong in that?
Yes. You are making the assumption that a disklabel(8) partition equals an MBR partition, & this simply isn't true.

If you delete a disklabel(8) partition, all that you are doing is freeing up space within the OpenBSD A6 MBR partition + destroying the filesystem used by your present installation. Any space freed within the OpenBSD A6 MBR partition cannot be reclaimed by another MBR partition.

Likewise, only one OpenBSD A6 partition can be exist on a disk. jggimi has already mentioned this.

If you proceed with your current idea, you will most likely render your OpenBSD installation unusable, but as stated before, provide the complete output of the following command:

$ df -h

...if you want a more definitive answer on just how unusable your system will become. Again, any space freed cannot be used for another MBR partition.

If you want a FAT32 partition, you will need to reinstall.

You really need to spend time studying Section 4 of the FAQ.
Reply With Quote
  #9   (View Single Post)  
Old 22nd March 2010
ros2468 ros2468 is offline
Port Guard
 
Join Date: Oct 2009
Posts: 14
Default

Im about to resize the a6 partition -1G,
Reply With Quote
Old 22nd March 2010
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

  1. You have refused to provide any information that would allow any of us to guide you, other than in the most general terms.
  2. Your latest self-induced plan to "resize" things will only impact the MBR partition, it will not change the size of the individual BSD partitions managed by disklabel.
  3. If all you do is change the size of the MBR partition, and create a second MBR partition for other purposes, the moment your OpenBSD system writes into what it understands is usable swap space in those LBAs in sd0h or wd0h that you have reassigned to something else, any data you have stored there will be over written, damaging the information in your new MBR partition..
  4. Reconfiguration without reinstallation is sometimes possible, but that depends entirely on information you have refused to share.
  5. You have shown an unwillingness to cooperate with those trying to help you, in any fashion. I'm done trying.
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
VPN setup suggestions needed mikesg OpenBSD Security 8 4th September 2009 09:45 PM
laptop buy - some advice needed gosha OpenBSD General 11 5th July 2009 02:34 PM
Help needed with installing usable GUI wellis82 FreeBSD Installation and Upgrading 10 22nd September 2008 03:57 PM
Kde4 & other help needed.. Mr-Biscuit FreeBSD General 4 21st September 2008 05:40 PM
Desperate help needed for KDE disappearedng FreeBSD General 12 17th July 2008 05:21 PM


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