OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | ELSI (coming soon) | Ibiblio


Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Resizing Windows And Installiing Openbsd After, not a howto but just lists what worked
post Mar 24 2006, 05:58 AM
Post #1

Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928

This is just a note for those of you that potentially want to have an OpenBSD i386 system to use alongside your Zaurus but want to keep it on the same machine as Windows.

I did this recently with a laptop because I really didn't want to wipe everything off that laptop and reinstall it but I needed something to do some development on that had PCMCIA slots. - I can report that it worked for me.

Basically this is just to state what 'worked well for me', if you choose to follow this path though be aware that I don't warranty the procedure, the authors of the tools don't and if you break things (oh I like this phrase coming up) 'you get to keep both halves'.

Firstly, if you have read Absolute OpenBSD which was written several years ago the book gives a convoluted example for creation of a multi-boot system based around an 8Gb limit on disk, I can confirm that if your system has true INT 13h EBIOS calls then you can actually boot from a partition well beyond that 8Gb limit.

Furthermore the book recommends looking at a boot manager called gag and gives the old URL. Gag is now located at 'gag.sourceforge.net' and can be installed from a bootable CD (iso is in the zip file now) - which suited me fine because I didn't have a floppy disk on the laptop at all.

Finally, in my case the original Windows installation took the whole 80Gb disk. I didn't want to reinstall it and was fuming at the thought of spending £40 on some partition resizing tool that I would use once. I used an OliveBSD CD (http://g.paderni.free.fr/olivebsd/) which is an OpenBSD 3.8 Live CD (takes ages to boot but it works) to dd the entire disk (/dev/rwd0c) to an NFS share on another OpenBSD box - if you don't have another OpenBSD box then think carefully since there are some size limits for files over NFS2 - NFS3 relaxes those limits. Then I used qtparted from a Knoppix 4.2 CD to resize the Windows partition (resize and then select commit to apply the changes) - the Knoppix 4.2 distribution has a tool that moves data and resizes the NTFS file system before resizing the partition - this seems to work fairly well but ensure you have a good backup.

When you install OpenBSD if you choose not to use the entire disk you will find that 'boot' is installed inside the OpenBSD partition. This makes it convenient to use with GAG and doesn't disturb Windows at all.

Windows of course has a secondary stage boot loader in the Windows partition to which gag can chain so your multiboot should properly boot Windows too.

Gag is really simple to install, burn yourself a CD, boot into gag, configure it and write the config to hdd. You can then reconfigure gag later on without requiring the CD since the gag configuration stuff is all in the boot manager. Gag actually works so well that I gave up using the rather sexy boot selection stuff in my BIOS on my main machine that allowed me to change boot drives and started using gag configured to boot operating systems on different drives. - That machine can now boot OpenBSD from the first SCSI drive, Windows from a second SCSI drive and chains onto GRUB to load Gentoo Linux from a second IDE drive (primary ide drive is Windows archive - note grub had to be reinstalled inside a partition instead of onto the MBR of that drive).

So there you go... not instructions per-se, just reporting success with this set of tools so if you are hunting round for tools to do some of these tasks I suggest that you have a look at qtparted and gag - OliveBSD is also a good thing to have.

Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 19th November 2017 - 12:15 PM