Hi! I decided to start using NetBSD, so I saw the opportunity to do it when I upgraded my main machine, a Lenovo IdeaPad 320-15AST, a little. It is based on the AMD A9-9420 (which, according to a mailing list message I found, should be supported by NetBSD), has now 8 GB of RAM, a "500 GB" 7200 rpm HDD and the newest BIOS. I indended to use it in a multiboot configuration, along with FreeDOS 1.3 and Microsoft Windows 7 SP1 64-bit.
So first came to partitioning the disk. All the MBR partitions were created during FreeDOS' installation. Later I installed Windows 7 and formatted relevant partitions to NTFS. As usual, the laptop now booted only to Windoze. NetBSD came the last - here is the resulting layout, as seen in the installer (which I ran from an USB stick):
Start(MB) Size(MB) Flag Kind Mount Bootmenu
------------- ------------- ---- ---------------- -------- --------
a: 0 2055 Windows FAT32 FREEDOS2 FreeDOS
b: 2055 203 NTFS Windoze
c: 2259 146044 Ia NetBSD NetBSD
d: 148303 328634 Extended partition, LBA
e: 148303 16386 NTFS
f: 164689 115624 NTFS
g: 280313 98311 NTFS
h: 378625 98311 Windows FAT32, L DOS_DANE
I was a little surprised by the ability to configure multiboot in the installer, since I searched a bit previously about multibooting NetBSD and Windows 7, only to find very little information on the subject. I thought about using BCD, as I did previously with OpenBSD, which involves copying the first 512 B of the root partition to a file. Anyway, I decided to give the NetBSD's boot selector a try.
Next came partitioning the NetBSD's slice. I mostly replicated the layout I tended to use with OpenBSD:
Start (MB) End (MB) Size (MB) FS type Flag Filesystem
------------ ------------ ------------ -------- ---- ----------
a: 2388 5390 3003 FFSv2 N /
b: 5391 21775 16385 swap
c: 2259 148302 146044 NetBSD partition
d: 0 476939 476940 Whole disk
e: 2260 2387 128 MSDOS N
f: 21776 27780 6005 FFSv2 N /usr
g: 27781 33538 5758 FFSv2 N /var
h: 33539 42545 9007 FFSv2 N /usr/local
i: 42546 44594 2049 FFSv2 N /var/log
j: 44595 46396 1802 FFSv2 N /usr/X11R7
k: 46397 47597 1201 FFSv2 N /usr/src
l: 47598 49999 2402 FFSv2 N /usr/obj
m: 50000 148302 98303 FFSv2 N /home
All partitions created successfully.
I chose to install the following distribution sets:
- Kernel (GENERIC)
- Kernel modules
- Base
- Configuration files (/etc)
- Compiler tools
- Games
- Manual pages
- All X11 sets
- Kernel sources (from Source and debug sets)
- Base sources (from Source and debug sets)
Initially I wanted to install Share sources, GNU sources and X11 sources as well but during every installation attempt they threw errors related to creating directories and links, so I eventually gave up on them. This didn't affect the main problem in any way. I don't know if this is relevant, but I chose to delete downloaded files after installation.
So it came to final configuration. The network worked during downloading the sets, as well as pkgin and pkgsrc. I added a second user, with /bin/ksh as the shell. The screen looked as follows:
a: Configure network configure
b: Timezone Europe/Warsaw
c: Root shell /bin/sh
d: Change root password password set
e: Enable installation of binary packages DONE
f: Fetch and unpack pkgsrc DONE
g: Enable sshd NO
h: Enable ntpd NO
i: Run ntpdate at boot NO
j: Enable mdnsd NO
k: Enable xdm NO
l: Enable cgd NO
m: Enable lvm NO
n: Enable raidframe NO
o: Add a user
x: Finished configuring
By default, cgd and raidframe were enabled - I tried this too. Other time I enabled xdm and disabled everything else on the list. No difference in any way, when it comes to main problem.
Installation finished, so I chose to reboot the computer. The following menu appeared:
Fn: diskn
1: FreeDOS
2: Windoze
3: NetBSD
Pressing 3 gives me "Error 3". What's interresting however, FreeDOS 1.3 and Microsoft Windows 7 SP1 64-bit boot fine, out of the box.
I searched about this problem. I found some threads on mailing lists, but the information was sparse. Someone mentioned being able to boot from the installer's boot prompt using the command boot hd0a:netbsd
. In my case I got the following:
open: hd0a:netbsd: No such file or directory
boot: hd0a:netbsd: Input/output error
I also tried "wd0a" and "rwd0a" in place of "hd0a", the I tried ommiting the "a" letter but nothing worked. Finally I ran a shell from the installer and managed to successfully mount the root partition, with it's proper contents being in place.
I tried to find some more extensive documentation on NetBSD's boot selector but no success there. Besides the image of 9.2 release, I tried 9.2_STABLE images from between 30th April and 3rd May (doing a fresh installation in place of the previous one) - no difference. So I decided to register here and give all details regarding my installation, so maybe someone more experienced or knowledgeable will spot a mistake I'm not aware of or point out other cause of the problem. Any advice/assistance/solution/help will be highly appreciated!