*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-06-2005, 02:42 PM
|
#1
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Rep:
|
Dual Boot ( Win XP and freeBSD)
hey all i'm new here ! i need your help ........
i have 60 GB harddisk with 4 partitions are C,D,E,F (Windows XP Pro with NTFS). and i've leaved 6 GB (unallocated) in my harddisk for freeBSD 5.3 after that, i created it with partition magic.
The instalation proccess was prompt me to create partition but i fear to take a speculation to create the partition(s) because i want the freeBSD 5.3 installing in 6 GB that was i created previously, so my harddisk partitions as follow :
C : NTFS (Windows XP) as Primary
Extended
D : NTFS
E : NTFS
F : NTFS
unallocated (6 GB)
and in the freeBSD installation proccess to created partition look like this :
Code:
Disk name : ad0
Disk Geometry : 7476 cyls/255 head/63 sectors = 120101940 sectors (58643 MB)
Offset Size(ST) End Name Ptype Desc Flags
0 63 62 - 12 Unused
63 16948512 16948574 ad0s1 4 NTFS/HPFS/QNY
16948575 103153363 120101939 ad0s2 4 extended DOS, LBA
120101940 1260 120103199 - 12 Unused
so, which's the 6 GB that was i created previously ?
btw, sorry for my poor english 
|
|
|
|
05-06-2005, 02:50 PM
|
#2
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
AFAIK the BSDs can only be installed on a primary partition (not an extended partition) so you'll need to redo your partitioning scheme so that there's a primary partition to install FreeBSD on.
|
|
|
|
05-06-2005, 02:54 PM
|
#3
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
oh guys thanks very much for your quick reply but caouse i still newbie so can you give an example about that ( list of the partitions on my harddisk and still 6 GB for freeBSD 5.3)
|
|
|
|
05-06-2005, 03:16 PM
|
#4
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
oh sorry, can i create the freeBSD partitions, include the freeBSD filesystems in my windows xp, if can what the tool i must used ?
|
|
|
|
05-06-2005, 11:55 PM
|
#5
|
|
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 3,816
Rep: 
|
You can't make FreeBSD filesystems in Windows because FreeBSD uses its own custom partitioning scheme. You can read more about it in the FreeBSD Handbook (on www.freebsd.org natch). But basically, what you want to do is use fdisk to create another primary partition and then let the FreeBSD installer do what it needs to do with this partition. You can also just create free space and then run fdisk from inside the FreeBSD install program (that's what I recall at least, it's been awhile since I've installed FreeBSD).
|
|
|
|
05-08-2005, 08:29 AM
|
#6
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
okay thanks guys. i've succesfully installing FreeBSD 5.3 dual boot with windows xp on my machine now. but after installation finished, i can't get the GUI desktop. i want use GDM and Gnome, so what must i do.
oh yeah, i installed all FeeBSD 5.3 Packages !
|
|
|
|
05-09-2005, 01:13 PM
|
#7
|
|
Member
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308
Rep:
|
You need to create a text file in your home directory called .xinitrc
and in this file you just want it to say "gnome-session"
I belive that is what has to be in it, anyone can feel free to correct me if thats not the exact syntax or if I missed something
Did you install gnome in your bsd install? if you didnt you will need to type sysinstall into the prompt and then go to post install and find where you install Xwindows stuff and install gnome!
|
|
|
|
05-09-2005, 01:55 PM
|
#8
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
Quote:
Originally posted by Atrocity
You need to create a text file in your home directory called .xinitrc
and in this file you just want it to say "gnome-session"
I belive that is what has to be in it, anyone can feel free to correct me if thats not the exact syntax or if I missed something
Did you install gnome in your bsd install? if you didnt you will need to type sysinstall into the prompt and then go to post install and find where you install Xwindows stuff and install gnome!
|
okay thanks. i've choose all packages when installing FreeBSD 5.3
so must i install it again with sysinstall ?
|
|
|
|
05-09-2005, 02:18 PM
|
#9
|
|
Member
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308
Rep:
|
well if you installed all packages you should have Gnome already installed then
so what you have to do is put that file in your home directory
try this at your comand prompt
type "ee"
when that opens up type in "exec gnome-session"
I think you then hit ctrl and L to exit if not read the top i think it says the comands its ctrl and something
then save it as ".xinitrc" (note there is a dot before the name)
If you dont already have it installed then you have to go into sysinstall then post install(but if you installed everything then you should have it I belive) you will find out when it lets you into gnome or denies you!!
|
|
|
|
05-09-2005, 05:36 PM
|
#10
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
this's tye steps was i did to run gnome in my FreeBSD 5.3
#Xorg -configure
#cp xorg.conf.new /usr/X11/xorg.conf
#whereis .xinitrc
and the result is .xinitrc not found in my machine, so i created .xinitrc with vi editor, after that
#echo "exec gnome-session" > ~/.xinitrc
#startx
and i the gnome can run but i found error about /etc/host and i don't know how to resolve it !
and i've read a comment in a site about starting graphical automatically when we start computer. the comment like this
Quote:
to start X-windows automatically u might need to edit the /etc/ttys file. see if it contains a line like:
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
if its off as in above, replace off with on then u can edit the .xsession file in ur home directory to start the window manager u want
|
then i replace off with on but the .xsession file does not exist in my home directory, include in the root directory i've searched it with whereis command in the console. so what must i do to get .xsession file, how to create it ? please tell me, include the command to activated it ? and can you give an example of your .xsession file ?
and i want use gdm as the login manager, cause i dislike xdm but the gdm is not found in my FreeBSD machine, i've searched it with whereis command, i don't know why, so ?
|
|
|
|
05-10-2005, 03:37 AM
|
#11
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
okay i've succesfully make gnome started after starttx command but with this error :
Code:
Could not look up internet address for home.This will prevent GNOME from operating correctly.
It may be possible to correct the problem by adding home to the file /etc/hosts
and this's my /etc/hosts
Code:
#
::1 localhost my.domain
127.0.0.1 localhost my.domain
#
#Imaginary network
#10.0.0.2 myname.home myname
#10.0.0.2 myfriend.home myfriend
i've replace my.domain with home but still receive the same error
my another problem
i want gnome start automaticall every time machine boot ups, so i've edited the /etc/ttys line :
Code:
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure
to
Code:
ttyv8 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure
after that, i've edited .xsession file in the /root directory looks like :
Code:
xsetroot -solid black &
xset m 4 &
fvwm2
the i restarted my machine .............
then xdm succesfully displayed, so i enter root in box name and enter "root password" in password box, then i press enter, BUT the xdm login prompt appear again, i can't entering my gnome desktop, so i try again to enter the root and the passwd in the box but i got the same problem
so, i want edit the /etc/ttys (xdm) again to the default setting (off), but i don't know how to do it, cause i can't entering to console or gnome desktop, so what must i do ?
and what is the right value/setting in .xsession and /etc/ttys file, so that
the gnome can be run automatically when every time my machine boot ups ?
oh yeah, i dislike xdm, so i wanna use gdm but i gdm does not exist in my FreeBSD 5.3 machine, i know it after find it with whereis command, though i've chosen all FreeBSD 5.3 packages in the installation proccess. i've searched gdm in /usr/local/bin but not found, also ini /usr/X11R6/share/gnome and not found too, also in /usr/X11R6/bin/gdm and still not found. so i try to install it :
Code:
#cd /usr/ports/x11/gdm2
#make install
but i've received some error messages like this :
oh yeah, so, my questions are : - how to resolve the /etc/hosts problem ?
- what's the right .xsession setting ? and how to activation it after edited it and please give me an example of your .xsession working file !!
- how to re-edit the /etc/ttys file to default setting after login failed really likes in my case ? (from on to off)
- where is my gdm, though i've chosen all packages in installation proccess ?
- why i got error messages when installing gdm like above ?
- please Stop laughing
and sorry for my poor english
|
|
|
|
05-10-2005, 09:48 AM
|
#12
|
|
Member
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308
Rep:
|
The etc hosts problem might be that
#
::1 localhost my.domain
127.0.0.1 localhost my.domain
needs to have the part that says my.domain on those 2 lines changed to whatever it says at your comand prompt, sounds like yours says "home" ???? if so change that to
#
::1 localhost home
127.0.0.1 localhost home
That might be the problem, but I am not sure...
|
|
|
|
05-10-2005, 02:08 PM
|
#13
|
|
Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
The freebsd handbook has most of the answers to your questions. if you want to start gdm, take a look at this article.
|
|
|
|
05-11-2005, 06:12 AM
|
#14
|
|
LQ Newbie
Registered: May 2005
Posts: 8
Original Poster
Rep:
|
all my problems above has been resolved but now i want to start GDM and in FreeBSD Handbook there's NO explanation about that. i confused because in my machine there's NO gdm file, i've searched it with whereis command. and i've tried to install gdm :
#cd /usr/ports/x11/gdm2
#make install clean
but i receive error like this :
so, can you give me a guidance to make gdm exist in my machine ?
thanks
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:13 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|