1fc17 [Solved] Normal Install Failing at Creating Slice/partitions - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Desktop Usage > Mobile Computing

Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment.

Reply
 
Thread Tools Display Modes
  #1  
Old January 5th, 2011, 23:21
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Normal Install Failing at Creating Slice/partitions

Okay, I have never seen this one before and searching the error in the forum did not yeild a straight forward solution. Here's the history on installing OS's on my HP G60-125NR laptop.

Came with Vista, upgraded to Win7 over a year ago.
Three days ago loaded FreeBSD 8.1 (boot only iso) and all worked really well. Managed to get wireless going but had trouble getting xorg to configure correctly. Decided (probably a mistake here) to install PC-BSD, which I have played with in the past (when it was first announced). Again after playing with that install decided to go back to FreeBSD.

Standard install, disk slice editor, select A, use entire disk...great...moving to fdisk portion...add my partitions /, /var /data and a swap. Recieved the message"
Code:
Unable to find device node for /dev/ad6s1b in /dev! The creation of filesystems will be aborted.
Now, what gives? I previously installed FreeBSD from this exact same ISO and had no problem. What sort of kluge did PC-BSD (I know, not the right forum, just ranting a little here ;-) place on my file system?

Proceeding on, I Installed Windows 7 back onto the laptop without any problem however, when I boot FreeBSD again, I see the same file system layout as what was there with PC-BSD-even though it was erased and reformatted with the Win 7 install.

I need to delete all slice/partition information so I can re-install FreeBSD. Thoughts, ideas?

Thanks in advance!
Reply With Quote
  #2  
Old January 5th, 2011, 23:53
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

This may be due to GPT partitioning on that disk. Partition information is kept not only at the start of the disk, but also at the end. Zeroing out the normal partition table won't get rid of it, but gpart(8) can do it:
# sysctl kern.geom.debugflags=16
# gpart destroy -F ad6

Of course the trick there is that you need FreeBSD for gpart. The FreeBSD livefs CD should work for that. No doubt there are Linux and Windows utilities also.

If you're desperate, and have a utility that will do it, zeroing several blocks at the beginning and end of the disk--or the whole disk--should also work.
Reply With Quote
  #3  
Old January 5th, 2011, 23:59
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Warren,
I was looking at this thread from the FreeBSD email list. Can I just hit single user mode and run the DD command or is it easier to just grab the LiveFS iso?
thanks,
David

Last edited by DutchDaemon; January 6th, 2011 at 00:44.
Reply With Quote
  #4  
Old January 6th, 2011, 00:06
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

If you can get to a command prompt, dd should do it. But if you can get to a command prompt, use gpart. There's a copy in /rescue if the normal one in /sbin won't work.
Reply With Quote
  #5  
Old January 6th, 2011, 00:09
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Excellent, will give it a go here in a bit. Thanks for the info!
Reply With Quote
  #6  
Old January 6th, 2011, 00:56
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yep, had to download the livefs cd. Using that and Fixit, I run
Code:
# gpart destroy -F ad6
but it is coming back as an illegal option.

Code:
Options for: gpart destroy [-f flags] geom
gpart show and gpart list still show ad6 there. If I run a gpart destroy ad6 it just shows "device busy"

any ideas from here?

Last edited by DutchDaemon; January 6th, 2011 at 01:13.
Reply With Quote
  #7  
Old January 6th, 2011, 01:05
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

The -F option is apparently new (ish). Was that the 8.2-RC1 livefs CD?
Reply With Quote
  #8  
Old January 6th, 2011, 01:17
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, the FreeBSD-8.1-RELEASE-amd64-livefs.iso is what I used.
Reply With Quote
  #9  
Old January 6th, 2011, 01:26
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, I think I got it. After running a gpart show I saw ad6 followed by 1, 2, 3, 4, and 5. I ran this command:
Code:
gpart delete -i 1 ad6
to delete the first partition (I think) and followed it with running
Code:
gpart delete -i 2 ad6
Code:
gpart delete -i 3 ad6
Code:
gpart delete -i 4 ad6
Code:
gpart delete -i 5 ad6
And I was finally able to run:
Code:
gpart destroy -fF ad6
It now shows the ad6 slice without GPT assigned to it. Going to try to re-slice edit and re-fdisk this puppy now ;-)
Reply With Quote
  #10  
Old January 6th, 2011, 01:34
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay, still getting the error I mentioned in the first post,
Code:
Unable to find device node for /dev/ad6s1b in /dev! The creation of filesystems will be aborted
gpart show still lists ad6 as
Code:
=> 0  1  ad6  (none)  (233G)
followed by:
Code:
0  1    - free -  (512B)
I am still unable to completely remove this thing!
Reply With Quote
  #11  
Old January 6th, 2011, 02:16
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

You could use the livefs CD to create the slice and partitions before booting an install CD. sysinstall will let you use existing partitions, you just have to assign mountpoints to them. The first part of Disk Setup On FreeBSD shows how to use fdisk(8) and bsdlabel(8) to create the slice and partitions.
Reply With Quote
  #12  
Old January 6th, 2011, 03:00
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So, I did use the livefs CD to create the slice and partitions, then booted to the install, but it ended in failure again. I read in another post that someone had a similar issue and used the previous version (7x), so I pulled out my 7.3 CD and booted the install disk. I am now able to label and edit the slices and partitions just fine and am moving on with the install.

I am really confused as to why the same boot CD I used just four days ago worked perfectly, and yet after installing a different (but similar OS- PC-BSD), I had to go through such hoops. I did read in another post that the developers removed the DD UFS stuff. Not sure exactly how that is tied to this issue, just that I have a filesystem issue.

I have been using FreeBSD since 1998. I have always loved the simplicity (and speed of the installation) of it and the fact that I can run everything I need without a GUI frontend. With that said, it seems the winds of change are a blowin at FreeBSD. If it is no longer simplistic, users won't want to...well...use it.
Reply With Quote
  #13  
Old January 6th, 2011, 03:07
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

sysinstall is going away for just this type of reason. It's old, and has lots of things that people complain about. pc-sysinstall is supposed to address almost everything that needed to be fixed.
Reply With Quote
  #14  
Old January 6th, 2011, 13:46
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,387
Thanks: 60
Thanked 145 Times in 130 Posts
Default

v8 defaults to omitting several drivers which would enable the
sysinstall to probably work. I've posted about it several times,
search on geom_label.ko geom_bsd.ko (if I recall) in the forums.
(taking my own advice: )
A simple search on

geom_mbr

bought up about eight or so of posts I've made already in
similar threads.

Last edited by jb_fvwm2; January 6th, 2011 at 13:48. Reason: added a third
Reply With Quote
  #15  
Old January 6th, 2011, 17:43
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks jb,
I will definitely look into it. @ wblock, hmmm I never had any complaints about sysinstall ;-) but can understand why the masses thought it was something they needed to complain about, especially if they are coming from a linux gui background. When is the pc-install taking over, or has it already been included in the 8.x versions?

As for the latest endeavor, I installed 7.3 and then tried doing an upgrade to 8.1, again no go with the partitions. I will try now with what has been posted as potential solutions for geom_mbr issues.
Reply With Quote
  #16  
Old January 6th, 2011, 18:13
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

Quote:
Originally Posted by dbolton View Post
Thanks jb,
I will definitely look into it. @ wblock, hmmm I never had any complaints about sysinstall ;-) but can understand why the masses thought it was something they needed to complain about, especially if they are coming from a linux gui background. When is the pc-install taking over, or has it already been included in the 8.x versions?
I don't think it will be in 8.2, but maybe 8.3. My concerns with it were mostly clarity in the user interface.

Quote:
As for the latest endeavor, I installed 7.3 and then tried doing an upgrade to 8.1, again no go with the partitions. I will try now with what has been posted as potential solutions for geom_mbr issues.
Please document what you do. A web search earlier shows this is a far more common problem than it should be. Based on searches here, jb_fvwm2 is saying to boot the install CD, break to the loader, load geom_mbr, geom_label, and geom_bsd. Then boot, and it should all Just Work.
Reply With Quote
  #17  
Old January 6th, 2011, 19:15
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by wblock View Post
Please document what you do. A web search earlier shows this is a far more common problem than it should be. Based on searches here, jb_fvwm2 is saying to boot the install CD, break to the loader, load geom_mbr, geom_label, and geom_bsd. Then boot, and it should all Just Work.
Will do. I did exactly what jb mentioned in his post and also what jem mentions here but when typing boot, it hangs at da0 load...jem made some notes on his site which I will follow next.

I could just load the 7.3 and leave it there, but I typically like to run the current, current releases and not legacy, albeit I have several legacy versions running on productions servers.

I have always taken offense to folks who post here that "FreeBSD" broke my hardware, but I now feel their pain. Again, just odd how it worked flawlessly before. I am inclined to say pc-bsd broke my hardware, but in reality it's just not the case.
Reply With Quote
  #18  
Old January 6th, 2011, 21:31
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Warren et al,
I finally have FreeBSD 8.1 back on my laptop! I used a combination of your Disk Setup on BSD notes and jem's notes on the same. I usually try to avoid downloading the DVD iso but in this case it was a prerequisite to accomplishing the goal.

I only had to adjust for my particular partition layout and I am now off and running with getting apps installed.

Thanks again to all the BSD heads out there ;-)
Reply With Quote
  #19  
Old January 6th, 2011, 21:47
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,723
Thanks: 432
Thanked 1,761 Times in 1,458 Posts
Default

Did loading the modules make the difference, or what?
Reply With Quote
  #20  
Old January 6th, 2011, 22:15
dbolton dbolton is offline
Junior Member
 
Join Date: Dec 2010
Location: 43°55'86"N 124°06'07.92W (I wish)
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

No, after loading the modules and going to boot, it would hang while trying to load drivers for the built-in card reader. Using gpart, as you suggested, finally worked-but I had to go back and re-delete/destroy everything on ad6. I then used a combination of your notes and jem's notes to get the final resolution (you do a restore, I needed to install base).
Reply With Quote
  #21  
Old January 6th, 2011, 22:58
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,387
Thanks: 60
Thanked 145 Times in 130 Posts
Default

That issue or something similar wrecked an upgrade I did to a laptop
from v6 to v8. So I put in a new disk. While installing v8 I discovered all I had to do
would have been to partially remove the pccard-device from its slot
while booting. (Might not have been a pccard, something more
recent maybe).
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
[Solved] FreeBSD 8.1 Install failing - error mounting /mnt/dev/X rektem Installing & Upgrading 4 December 12th, 2010 23:46
How to install GRUB to separate slice? palladin Installing & Upgrading 1 September 23rd, 2010 16:25
NetBSD install ruined my FreeBSD slice! ikbendeman Installing & Upgrading 4 September 15th, 2010 13:40
virtualbox install failing gianD748 Installation and Maintenance of FreeBSD Ports or Packages 1 August 7th, 2010 23:28
[Solved] libogg install failing deadrabbit Installation and Maintenance of FreeBSD Ports or Packages 13 July 15th, 2009 04:39


All times are GMT +1. The time now is 20:16.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0