LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 05-06-2005, 02:42 PM   #1
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Rep: Reputation: 0
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
 
Old 05-06-2005, 02:50 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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.
 
Old 05-06-2005, 02:54 PM   #3
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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)
 
Old 05-06-2005, 03:16 PM   #4
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
oh sorry, can i create the freeBSD partitions, include the freeBSD filesystems in my windows xp, if can what the tool i must used ?
 
Old 05-06-2005, 11:55 PM   #5
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,131

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
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).
 
Old 05-08-2005, 08:29 AM   #6
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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 !
 
Old 05-09-2005, 01:13 PM   #7
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
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!
 
Old 05-09-2005, 01:55 PM   #8
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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 ?
 
Old 05-09-2005, 02:18 PM   #9
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
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!!
 
Old 05-09-2005, 05:36 PM   #10
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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 ?
 
Old 05-10-2005, 03:37 AM   #11
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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 :
Code:
>> attempting to fetch ftp://ftp.freebsd.org/pub/FreeBSD/po...atest/gdm.tbz: 
fetch : ftp://ftp.freebsd.org/pub/FreeBSD/po...Latest/gdm.tbz' : no address record
>> couldn't fetch it - please try to retrive this

bla..bla...bla....
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
 
Old 05-10-2005, 09:48 AM   #12
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
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...
 
Old 05-10-2005, 02:08 PM   #13
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
The freebsd handbook has most of the answers to your questions. if you want to start gdm, take a look at this article.
 
Old 05-11-2005, 06:12 AM   #14
nubier
LQ Newbie
 
Registered: May 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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 :
Code:
>> attempting to fetch from http://www.t.ring.gr.jp/archives/X/g...urces/gdm/2.6.
fetch : http://www.t.ring.gr.jp/pub/X/gnome/....6.0.4.tar.bz2 : No address record
>> couldn't fetch it - please try to retrive this
>> port manually into /usr/ports/distfiles/gnome2   and try again

*** Error code 1
stop in /usr/ports/x11/gdm2
so, can you give me a guidance to make gdm exist in my machine ?

thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual boot Linspire & Win XP - new master boot record? jimbo5454 Linux - Newbie 5 07-23-2006 12:06 AM
FreeBSD and Win XP Dual Boot oxleyk *BSD 11 05-02-2005 11:49 AM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 05:02 PM
Dual boot Win/Linux boot error L? jondy Linux - Newbie 2 04-16-2004 10:49 AM
Rebooting mdk 9.2 (win 98 dual boot) after win hd fails jnt Mandriva 3 04-05-2004 05:57 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration