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 December 2010
brain-dead brain-dead is offline
New User
 
Join Date: Dec 2010
Posts: 3
Question need help partition on hard drive with os already on it

I am trying to install OpenBSD on a computer that already had Linux on it, plus a swap partition, and I need help creating a new partition for OpenBSD. I've gotten to the point where I create the new partition and it asks for an offset. first partition is linux ext4, next is the swap. It would be great if someone would help; I will supply any information necessary for the resolution of this problem.
Reply With Quote
  #2   (View Single Post)  
Old 21st December 2010
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,128
Default

OpenBSD needs a primary partition with A6 as partition identifier.

Code:
j65nko@hercules[~]fdisk wd0

Disk: wd0       geometry: 38913/255/63 [625142448 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: A6      0   1   1 -   5098 254  63 [          63:    81915372 ] OpenBSD     
 1: A5   5099   0   1 -  22945 254  63 [    81915435:   286712055 ] FreeBSD     
 2: 82  22946   0   1 -  23011 254  63 [   368627490:     1060290 ] Linux swap  
 3: 83  23012   0   1 -  38912 254  63 [   369687780:   255449565 ] Linux files*
Usually it is easier to create such a partition with the tools you are familiar with. Just use Gparted or the Linux fdisk if you feel more comfortable with them.

What is the output of Linux fdisk -l ?
__________________
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 21st December 2010
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

To be clear, all of the OpenBSD partitions you will use will all be created inside this single A6 partition, a thru p. Except c, which represents the entire physical drive. This is done in another layer of partitions, separately from MBR partitioning.
Reply With Quote
  #4   (View Single Post)  
Old 21st December 2010
brain-dead brain-dead is offline
New User
 
Join Date: Dec 2010
Posts: 3
Default

Yes, thank you, J65nko. I was indeed aware of that, jggimi. thank you. I used pmagic, and stuff seems to work now, more or less. Just gotta configure the bootloader now. I can probably do that myself.
Buh-bye.
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
Second Hard Drive IronForge OpenBSD Installation and Upgrading 4 2nd November 2009 08:53 AM
Hard Drive backup roundkat OpenBSD General 3 29th October 2009 07:32 PM
Did I fry my hard drive? JMJ_coder General Hardware 7 23rd December 2008 10:38 PM
CF as a *BSD hard drive? JMJ_coder General Hardware 26 31st July 2008 05:13 PM
Encrypting hard drive? ViperChief FreeBSD Installation and Upgrading 5 31st May 2008 03:42 PM


All times are GMT. The time now is 04:18 PM.


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