LinuxQuestions.org
Visit Jeremy's Blog.
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 05-19-2004, 06:55 AM   #1
diam0nd
Member
 
Registered: Nov 2003
Posts: 34

Rep: Reputation: 15
Problem in booting OpenBSD after installation


Hi... before the installation of OpenBSD 3.5 I had Windows 2000 & Slackware Linux. then I installed OpenBSD on what linux calls /dev/hda7 , and when I added this:

Code:
other=/dev/hda7
  label=OpenBSD
  read-only
to /etc/lilo.conf, and tried to run "lilo", I got the following error:

Code:
# lilo
Added Windows *
Added Linux
Fatal: First sector of /dev/hda7 doesn't have a valid boot signature
I tried to flag /dev/hda7 as boot in cfdisk while in linux, and then to write down the partition table, and it says:

Code:
Wrote partition table, but re-read table failed.  Reboot to update table.
and now nothing... it doesn't work... what can I do ?
TIA.

edit: I would like to mention that cfdisk shows only one OpenBSD partition when I execute it, and when I mount /dev/hda7 on linux I get the root partition mounter, but at the installation I made 6 partitions with disklabel:
/ , /tmp, /var, /usr, home, and the swap partition.
Oh, and cfdisk shows the OpenBSD partition as a logical partition.

Last edited by diam0nd; 05-19-2004 at 08:55 AM.
 
Old 05-19-2004, 06:28 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
"I installed OpenBSD on what linux calls /dev/hda7"

I am not certain but I don't think that BSD is bootable from a logical partition. I think that you have to give OpenBSD a primary partition, which BSD calls a slice. Then BSD creates partitions (called logical partitions in Linux) within its slice.

It has been over a year since I installed BSD so maybe sombody else has a better answer.


___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 05-21-2004, 07:21 AM   #3
diam0nd
Member
 
Registered: Nov 2003
Posts: 34

Original Poster
Rep: Reputation: 15
yeah, you are right.
I didn't had any primary partition, so I did some swap between that logical partition and a windows primary partition, And it works fine.

Something that I've found very annoying is, that the disklabel part at the installation didn't change the default starting sector for every new partition when I wanted to create a new one after the first one was created ( the / partition ), and I needed to calculate it manually with a calculator (which becoms very annoying with big numbers.)

but nevermind, now it works fine. thanks anyway
 
  


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
Having trouble dual booting OpenBSD 3.7 chutsu *BSD 1 09-27-2005 10:41 AM
Problem with booting after installation masonmop Ubuntu 38 08-07-2005 02:17 AM
Mandrake 10 installation problem after booting from cd1 haxu Mandriva 1 03-16-2004 02:35 PM
OpenBSD installation problem.. cIx *BSD 0 08-06-2003 07:52 AM
OpenBSD 3.1 not starting after installation glock19 *BSD 1 07-02-2002 05:11 PM

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

All times are GMT -5. The time now is 05:02 AM.

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