*BSDThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ?
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.
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)
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).
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.
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!
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 ?
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!!
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 ?
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
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 :
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
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 :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.