Subject: How to boot from wd0
To: None <port-i386@netbsd.org>
From: Steven Grunza <steven_grunza@ieee.org>
List: port-i386
Date: 10/23/2002 12:07:22
System Info:
         Dell Inspiron 7500 /w/ 192 MB and 12 GB disk
         Win2K on first partition
         NetBSD-1.6 on second partition -- installed without saying yes to 
either the boot loader, custom boot blocks, or anything else that sounded 
like it was going to change how the machine boots



My Dell Inspiron 7500 disk is setup as follows:

#        size    offset     fstype  [fsize bsize cpg/sgs]
  a:    261072  16768080     4.2BSD   1024  8192    86   # (Cyl. 16635 - 16893)
  b:    394128  17029152       swap                      # (Cyl. 16894 - 17284)
  c:   6811056  16768080     unused      0     0         # (Cyl. 16635 - 23391)
  d:  23579136         0     unused      0     0         # (Cyl.    0 - 23391)
  e:  16768017        63       NTFS                      # (Cyl.    0*- 16634)
  f:   6155856  17423280     4.2BSD   1024  8192    86   # (Cyl. 17285 - 23391)
#

Windows2000 is on the first partition (8 GB)
NetBSD 1.6 is on the second partition (3+ GB)

I currently boot Win2K from the hard drive and NetBSD from floppy.

Given the above partitioning is there a way to boot NetBSD from the hard 
drive or do I need to shrink the NTFS partition a little more so the NetBSD 
boot code can be below 8GB?  I would like to stop carrying a floppy disk 
around so I can boot the laptop.

I tried the steps in http://www.netbsd.org/Ports/i386/faq.html#nt_boot but 
got the following when trying to boot NetBSD:

Windows2000 could not start because the following file is missing or corrupt:

<windows 2000 root>\system32\ntoskrnl.exe

Lucky for me I can still boot Win2K.

If I have to I'll try to shrink the NTFS partition a little to make room 
for a few hundred MB for a new / partition (probably make the current wd0a 
into /tmp space) but I would prefer not mucking with the disk partitioning...







------------------------------------------------------------------
"Unix is user friendly, it's just | Steven Grunza
particular about with whom it     | voice:  (856) 787 - 2759
makes friends."                   | fax:    (856) 866 - 2033
  - Unknown                        | mailto:steven_grunza@ieee.org
-------------------------------------------------------------------