SunQuest
           BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old April 14th, 2002, 08:04 PM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
cannot use fdisk!

Hi there,

I cannot run fdisk on my 4.5 stable the error is:
No device is configured!

Another problem is alfter I rebuild the world, games are installed. Is that mean I need to specify not to install games in /etc/make.conf? I supposed FreeBSD will inspect what I have installed and install only the components exist in my system when building the world.

Thanks

Reply With Quote
  #2  
Old April 15th, 2002, 04:58 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
For the fdisk error show us what you have done step by step in detail.

>> Is that mean I need to specify not to install games in /etc/make.conf?

You need to append NOGAMES=true to /etc/make.conf BEFORE buildworld.

Next time you post something please don't combine two different issues within one post.

Reply With Quote
  #3  
Old April 15th, 2002, 11:03 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the reply!

I installed 4.5 release as usual and used GRUB from Linux to boot FreeBSD

the line in grub.conf:

title FreeBSD
root = hd(1,0,a)
kernel = /boot/loader

FreeBSD boots without any errors.

but when i tried use fdisk utility to check the partition information, it said it cannot find any device or the device is configured. Then I cvsup to 4.5 stable and rebuild world and kernel. But got the same error when using fdisk.

I have 2 hardisk attached to Promise Ultra100 card
Disk 1 is Windows and Linux
Disk 2 is FreeBSD only

I am not familiar with the boot procedure of the FreeBSD, but it seems FreeBSD wont use boot1, boo2 and go to loader directly if I use grub, will this cause any problem?

Thanks!

Reply With Quote
  #4  
Old April 15th, 2002, 04:50 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> when i tried use fdisk utility to check the partition information

You need to use disklabel instead.

Sorry, I don't know anything about grub. I also discourage people to dual/tri boot the OS. It's been discussed dozen times here.

Reply With Quote
  #5  
Old April 15th, 2002, 07:32 PM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I think grub still have some problem with FreeBSD, since they asking help from FreeBSD hackers in their document. But I saw posts that recommanded to use grub if I dont want to see

F1 ???
F2 FreeBSD

Yeah, I planned to add one more computer to install FreeBSD one or two months later. (Cannot afford 1 at the moment )

I also have 2hrs to 3 hrs max to use my computer everyday. I will try to intall FreeBSD 1st if I have enough time to do that later. Anyway, thanks for your advice.

Last edited by bryanko : April 15th, 2002 at 07:42 PM.

Reply With Quote
  #6  
Old April 21st, 2002, 03:23 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I removed the windows harddisk today, and I can use to fdisk now. I think the fdisk must need some information from boot/boot0, or /boot/boot1 becos grub just load the /boot/loader directly.

Reply With Quote
  #7  
Old May 13th, 2002, 03:01 AM
phoenix_rizzen phoenix_rizzen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Kamloops, BC, Canada
Posts: 55 phoenix_rizzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Cool

How are you calling fdisk?? What commandline are you using?? What information are you looking for??

Oh, and GRUB works perfectly with FreeBSD 4.5-RELEASE. We've been using it at the office for a couple of months now, dual-booting FreeBSD/Linux, triple-booting FreeBSD/Linux/Windows (98 or 2K), and even quintuple-booting FreeBSD/Linux/Windows 98/Windows 2K/SCO UnixWare. We're also using it to dual-boot Linux/Windows 98 and as the bootloader for all our new Linux installs. (Not bad for "alpha"-quality software.)
__________________
Linux is for those who hate Windows.
FreeBSD is for those who love UNIX.
-------
Have you read The Handbook yet?
How about The FAQ?
Have you searched the mailing lists?
Or read any of the man pages?
Have you searched the web for BSD resources?
In short, have you done your homework yet?

Reply With Quote
  #8  
Old May 14th, 2002, 12:26 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
When I type "fdisk" in freebsd and booting without GRUB:

zs# fdisk
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=1110 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1110 heads=255 sectors/track=63 (16065 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
start 63, size 17832087 (8707 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

When I type "fdisk" and boot by using GRUB:
fdisk: No device is configured!

the GRUB conf file:
title FreeBSD
root = hd(1,0,a)
kernel = /boot/loader

I don't have any problem to boot freebsd using GRUB except fdisk don't work. But I gave up Linux and using FreeBSD only now...

Reply With Quote
  #9  
Old May 14th, 2002, 07:39 PM
phoenix_rizzen phoenix_rizzen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Kamloops, BC, Canada
Posts: 55 phoenix_rizzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
If you boot with GRUB and use fdisk /dev/hdb what do you get?? How about with fdisk /dev/hda??

Reply With Quote
  #10  
Old May 14th, 2002, 07:47 PM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I got the same error message if I use fdisk /dev/ad0

The GRUB I used was installed by RedHat Linux and I removed Linux. I will try to install GRUB from ports and try again tonight.

Reply With Quote
  #11  
Old May 15th, 2002, 02:48 AM
phoenix_rizzen phoenix_rizzen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Kamloops, BC, Canada
Posts: 55 phoenix_rizzen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hmmm, curious. Didn't think anything would change, but it was worth checking out. I haven't delved too deeply into the boot sequence yet (that's next month's project: diskless, remote booting). Nor have I delved into the meaty entrails of GRUB or the bootloader.

Let us know if you get things figured out/working with GRUB.

Reply With Quote
  #12  
Old May 15th, 2002, 09:32 AM
bryanko bryanko is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Location: Hong Kong
Posts: 23 bryanko User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I built the grub from ports and created a boot floppy to boot freebsd. Everything run fine this time!
Notice: The grub I used this time has been patched by the ports, I am not sure if these patches make it works or the version from Redhat is older.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > cannot use fdisk!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway