1fc17
![]() |
|
|
|
|
|||||||
| Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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. 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! |
|
#2
|
||||
|
||||
|
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 ad6Of 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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
||||
|
||||
|
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.
|
|
#5
|
|||
|
|||
|
Excellent, will give it a go here in a bit. Thanks for the info!
|
|
#6
|
|||
|
|||
|
Yep, had to download the livefs cd. Using that and Fixit, I run
Code:
# gpart destroy -F ad6 Code:
Options for: gpart destroy [-f flags] geom any ideas from here? Last edited by DutchDaemon; January 6th, 2011 at 01:13. |
|
#7
|
||||
|
||||
|
The -F option is apparently new (ish). Was that the 8.2-RC1 livefs CD?
|
|
#8
|
|||
|
|||
|
No, the FreeBSD-8.1-RELEASE-amd64-livefs.iso is what I used.
|
|
#9
|
|||
|
|||
|
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 Code:
gpart delete -i 2 ad6 Code:
gpart delete -i 3 ad6 Code:
gpart delete -i 4 ad6 Code:
gpart delete -i 5 ad6 Code:
gpart destroy -fF ad6 |
|
#10
|
|||
|
|||
|
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 Code:
=> 0 1 ad6 (none) (233G) Code:
0 1 - free - (512B) |
|
#11
|
||||
|
||||
|
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.
|
|
#12
|
|||
|
|||
|
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. |
|
#13
|
||||
|
||||
|
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.
|
|
#14
|
|||
|
|||
|
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 |
|
#15
|
|||
|
|||
|
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. |
|
#16
|
||||
|
||||
|
Quote:
Quote:
|
|
#17
|
|||
|
|||
|
Quote:
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. |
|
#18
|
|||
|
|||
|
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 ;-) |
|
#19
|
||||
|
||||
|
Did loading the modules make the difference, or what?
|
|
#20
|
|||
|
|||
|
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).
|
|
#21
|
|||
|
|||
|
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). |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |