Newbie mistake with disklabel

Newbie mistake with disklabel

Post by Wolfgang Bornat » Tue, 13 Aug 2002 00:21:07



or so I think it is. Although working with Linux for some years now I
cannot get along with OpenBSD disklabel.

I have 80G disk w/ win & Linux and wanted to add OpenBSD to learn. I
forgot to install a bootloader AND I did not care for the 1024 cylinder
limit because this is done with in Linux for some time now.

So installation went smooth but after rebooting I could not find OpenBSD
(of course not!). I planned to let it be for a while until I have the
time to do some more reading and googling.

Meanwhile I downloaded the new Mandrake Linux Beta and wanted to install
it. No way!

In MDK fdisk says:
------------------
# fdisk /dev/hda
Warning: too many partitions (16, maximum is 8).

Command: p

Disk /dev/hda: 255 Heads, 63 Sectors, 10011 Cylinder
Units: Cylinder with 16065 * 512 Bytes

16 Partitions:
#       start       end      size     fstype   [fsize bsize   cpg]
  c:        1    159560    159560     unused        0     0

There was an a: before that named as BSD4.2 type and I booted with the
OpenBSD CD and deleted the a: partition.

Then sfdisk in Linux says:
-----------------
# sfdisk -uS -d /dev/hda
# Partition table of /dev/hda
unit: sectors

/dev/hda1 : start=       63, size=16386237, Id= b, bootable
/dev/hda2 : start= 16386300, size=60677505, Id= f
/dev/hda3 : start=        0, size=       0, Id= 0
/dev/hda4 : start=        0, size=       0, Id= 0
/dev/hda5 : start= 16386363, size=24579387, Id= b
/dev/hda6 : start= 40965876, size=  867384, Id=82
/dev/hda7 : start= 41833323, size=12932262, Id=83
/dev/hda8 : start= 54765648, size=22298157, Id=83

hda1 + 5 are WinME, hda6-7-8 are MDK Linux.
I thought that I was home and dry.

The problem is: I tried to install MDK9.0. Booted with CD, came to the
partitioning chapter and it showed me all partitions up to hda8. The
rest was shown as empty. So I partitioned hda9-10-11 for use with MDK9.0
and installed everything. I put the lilo bootloader in the BR of hda9 so
I can load it with the existing lilo in MBR.

But when I added the proper lines in lilo.conf and run lilo to change
the bootloader it gives an error: hda9 not found.

I tried to find some info in the FAQ or manual on OpenBSD.org but there
was nothing I understood or found usefull short of wiping the whole disk
and install OpenBSD.

Do I have to look at partimage to save my Linux installation and do that
total cure? Hopefully not.

I'm looking for a way to get access to my free disk space. As for
installing OpenBSD I'll get an extra disk for it. That seems to be
easier for a newbie.

wobo
--
Registered Linux User 228909  Powered By Mandrake Linux sum(8.1+0.1)
--------------------------------------------------------------------
It is NOT portable (uses 386 task switching etc), and it probably
never will support anything other than AT-harddisks.
(Linus Torvalds, 25 Aug 91 20:57:08 GMT, comp.os.minix)

 
 
 

1. newbie question about disklabel

Hi,

When I was configuring freebsd 4.4 something strange happened (read
pagefault) and that rebooted the system and also corrupted the disklabel
on one of my disks.  I want to be able to restore it and I have a
configuration file but whenever I try to run
#disklabel -R da1 configfile
I get an error
#disklabel: No space left on device

I also have used other UNIXs where disklabel can zero out the label but
I can't seem to find anything to the same effect in freeBSD.  Any help?
I need the information on this disk so I can't just fdisk it.

-bill

2. How do i change my unix login?

3. disklabels, partitiontables, filesystems and blocks [newbie]

4. UDP and pthreads

5. Dumb newbie mistake setting up TZ and clock

6. Union Mount & Whiteout

7. Dumb Newbie mistake ! so : HEEEEEEEELP pleeeze !!!

8. pppoatm.so problem

9. newbie porting mistake

10. Newbie Mistake

11. Newbie: Help correct mistakes in XF86Config

12. Help correct Newbie mistake

13. dumb newbie mistake with LILO