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 8th November 2013
bgpepi bgpepi is offline
New User
 
Join Date: Oct 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default Netbsd install error

When the NetBSD 6.1.2 (i386) installation reaches the "newfs" procedure with i386 ports install media, it stops with

the following error:

Status: Command failed
Command: /sbin/newfs -V2 -O 2 -b 16384 -f 2048 /dev/rwd0a
Hit enter to continue

--------------------------------------------------------------------------------------------------------------------------

newfs: /dev/rwd0a: open for read: Device busy

I have IBM Thinkapad T22. I am searching, but there is nothing for this error....
Reply With Quote
  #2   (View Single Post)  
Old 9th November 2013
shep shep is offline
ISO Quartermaster
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 593
Thanked 9 Times in 9 Posts
Default

I think this has to do installing NetBSD to a hard drive that previously used a gpt based boot loader.
Quote:
The partition table scan identifies the MBR as being MBR-only and GPT data as being present. This is the definition of the problem. (If the MBR is MBR-only and the GPT is damaged, the problem also exists; however, in this case something else may have overwritten some of the non-MBR GPT data, and using GPT fdisk to correct the problem can damage whatever overwrote the GPT data—perhaps a boot loader or disk encryption tool. Proceed with caution in such cases!)

Having identified the problem, gdisk asks what to do. Since gdisk is a GPT tool, it will convert the MBR to GPT form, use the GPT data, or create a blank GPT. Since this page is about wiping out errant GPT data, I'll assume you don't want to keep that data. (If you do want to keep the GPT data, you should select option 2, make any changes you want, and then use the w menu option to save your data. The program will then generate a fresh protective MBR. Do not do this if your MBR data are correct, though!)

If you want to keep the MBR and wipe the GPT, your answer to this question of what data to use is irrelevant. You can then proceed to use the z ("zap" GPT data) option on the experts' menu:
If you have
Quote:
PartedMagic
SystemRescueCd
RIPLinuX
you can use the gdisk tool to remove the gpt sectors as described here.

As an aside, this is needed for OpenBSD if your hard drive previously was loaded with FreeBSD 9.1+ Debian 7+ and other OS's that now utilize a gpt boot loader.
Reply With Quote
  #3   (View Single Post)  
Old 9th November 2013
bgpepi bgpepi is offline
New User
 
Join Date: Oct 2010
Posts: 7
Thanked 0 Times in 0 Posts
Default

Thanks!
This is work with boot SystemRescueCd, after this fixparts change GPT to MBR!
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
Help with Install error baluba NetBSD Installation and Upgrading 1 6th January 2012 06:03 PM
Java install error delboy FreeBSD Ports and Packages 2 26th August 2009 09:34 AM
Package install error. delboy FreeBSD Ports and Packages 10 25th March 2009 05:54 PM
netbsd terminal error jaideep_jdof NetBSD General 1 22nd November 2008 12:50 AM
snort install error ijk FreeBSD Installation and Upgrading 1 11th August 2008 10:53 AM


All times are GMT. The time now is 04:54 AM.


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