DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD Installation and Upgrading

NetBSD Installation and Upgrading Have trouble getting NetBSD on your toaster?

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 1 Week Ago
BSD-user BSD-user is offline
New User
 
Join Date: Mar 2015
Posts: 9
Default [SOLVED] Can't get NetBSD off the ground (install woes)

I'm having a really tough time getting NetBSD installed. I consider myself an avid GNU/Linux user but I was interested in decentralising a bit due to potential issues and policy questions related to the Linux kernel (long story perhaps for another time).

Here is the partition layout I've been trying to implement with my install. This is in both MBR and UEFI cases.

wd0
|_ / (80GB, FFS)
|_ /boot/efi (2MB, msdos)
|_ cgd (remainder)
____|_ swap (16GB)
____|_ /var (1GB)
____|_ /home (remainder)

In the installer program I choose extended partitioning to set it up like this. I keep getting errors.

(1) In the MBR case I tried leaving 1MB of free space from start of the disk to the start of / partition. The installer then installs without error but the system doesn't boot. I already set wd0 as bootable.

(2) In the UEFI case (my preferred) I changed the partition layout to GPT and proceeded to mimic the layout above but I keep getting errors in the process when saving the layout. I get an immediate error after the first attempt at setting the crypto password. Is there some issue with using CGD and GPT?? Second where should the efi partition (formatted FAT) be mounted? I'm only guessing that it's /boot/efi.

Last edited by BSD-user; 1 Week Ago at 11:19 PM.
Reply With Quote
  #2   (View Single Post)  
Old 1 Week Ago
shep shep is offline
Rc.conf Instructor
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,104
Default

I used this Arch wiki to setup Arch/OpenBSD gpt/efi
https://wiki.archlinux.org/index.php...stem_Partition

Prior to dual booting I found this OpenBSD guide that I think should work for NetBSD (?8.0RC1) that has an EFI bootloader entry.
Reply With Quote
  #3   (View Single Post)  
Old 1 Week Ago
BSD-user BSD-user is offline
New User
 
Join Date: Mar 2015
Posts: 9
Default

I was using 8_RC1 and I believe the installer to be faulty. I reverted to 7.1.2 and carried out the same operations albeit using MBR and it has worked smoothly.

Now there is another snag. When I setup cgd in the installer it hasn't put the paramsfile in /etc/cgd/. So where is the params file for the cgd that I already created?
Reply With Quote
  #4   (View Single Post)  
Old 1 Week Ago
BSD-user BSD-user is offline
New User
 
Join Date: Mar 2015
Posts: 9
Default

The UEFI that you get in the instal medium is just for the install medium. If you're going to setup a system then AFAIS you have to go via the MBR route. Otherwise it appears as if some random collection of errors repeatedly get thrown at you by sysinst.

After carrying out the partitioning in sysinst the params file resides in /tmp of the install medium fs. You have to manually copy these files to /targetroot/etc/cgd. sysinst skips this vital step.
Reply With Quote
  #5   (View Single Post)  
Old 1 Week Ago
BSD-user BSD-user is offline
New User
 
Join Date: Mar 2015
Posts: 9
Default

I have now managed to get a basic system running with cgd barr the root partition.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
install virtualbox on netbsd philo_neo71 NetBSD General 5 24th October 2014 10:44 PM
Netbsd install error bgpepi NetBSD Installation and Upgrading 2 9th November 2013 05:09 PM
How to install netbsd on ARM smartbook? gerionic NetBSD General 2 18th September 2011 06:37 PM
No Screen during NetBSD 5.0 install shep NetBSD Installation and Upgrading 7 16th October 2009 02:54 AM
Booting netBSD 5 install failed dk_zero-cool NetBSD Installation and Upgrading 10 5th May 2009 12:23 PM


All times are GMT. The time now is 12:58 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick