Re: Boot and MBR.

2004-02-27 Thread Jud
On Thu, 26 Feb 2004 20:21:25 -0900, Mark Weisman [EMAIL PROTECTED] wrote:

  I've tried setting the MBR within fdisk from the FBSD side of the  
house, however, it won't set. I go through all the motions, yet when it  
goes to write it says that it can't write to drsk ad0. I then went into  
a dos boot using a Windows98 boot disk and made the partition active, it  
still will not boot into the Windows partition. For the life of me, I  
cannot think of how to fix this. I need some help, any ideas?
This is only a single hard drive with both XP and FreeBSD, I'm assuming.

You can try three things:

1. Reinstall the FreeBSD bootloader and write the change; or

2. Boot from the Win floppy and type 'fdisk /mbr' (no quotes), or boot  
from the XP CD, go into the repair console and type 'fixboot' and  
'fixmbr'; then reboot into FreeBSD and reinstall the FreeBSD bootloader; or

3. Do step 2, then boot into FreeBSD from the CD, go into post-install  
configuration, choose to install a normal MBR (not the FreeBSD  
bootloader), write the change, then install GAG (URL in previous message).

There are other options as well, but these should be enough to burden you  
with for now.  :)

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-27 Thread Matthew Seaman
On Thu, Feb 26, 2004 at 01:11:28PM -0900, Mark Weisman wrote:

 The second question I have, is can I put the command startx into my
 rc.conf file to have it boot directly into the x-server? Any help on
 these two would be awesome. Thanks.

Other people have described how you can arrange for startx to be run
automatically whenever anyone logs into your system console -- however
I'm guessing that isn't exactly what you mean.

If you want to set up a system with a graphical login screen, check
out xdm(1) --- you can enable that by editing the file /etc/ttys and
changing the line:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off  secure

to:

ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   on  secure

xdm(8) is the 'X Display Manager' -- the default look is not amazingly
pretty, but you can customise it a bit to make it look nicer:
investigate the files in /usr/X11R6/lib/X11/xdm.

Note that is you use xdm(8), when you log in the ${HOME}/.xsession
script will be run to populate your desktop and start up a window
manager, rather than the ${HOME}/.xinitrc script that's run by startx.
The two scripts have very similar effects, and you can probably get
away with copying one to the other initially.

If you're a Gnome user, there's a workalike program gdm(8) you might
want to use instead, and I believe the KDE stuff comes with (surprise,
surprise) kdm(8).  Their documentation should tell you exactly what
you need to put into /etc/ttys in order to substitute them for xdm(8).

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Boot and MBR.

2004-02-27 Thread HOLLOW, CHRISTOPHER
You can also Grub it up:

http://www.gnu.org/software/grub/
http://www.daemonnews.org/200102/grub.html
Grub is a popular and well-supported OSS boot loader

HTH,

Chris



Jud wrote:

On Thu, 26 Feb 2004 17:18:01 -0900, Mark Weisman [EMAIL PROTECTED] 
wrote:

Just out of curiosity what is the order in creating a dual boot system?
Which operating system do you put on first? I see that having WinXP
setup in partitions is not a good idea, yet I'm not aware of how to load
the system in just a slice? I would appreciate any and all help in
trying to get this thing online. I need my workstation back as soon as
possible. Thanks.
[snip]

I've got my primary drive divided in two partitions, one partition had


WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP


installed and working until I put FreeBSD on the second partition and
had it take control of the MBR. I know that the other partition is
still bootable if I can get a pointer to it, currently the boot menu
shows it
as:
  F!: ??
  F2: FreeBSD
How can I get that first menu choice to look at the installation on
the

first partition as bootable? Making the machine a dual boot between
the

two system?

First off, don't worry about slice vs partition - Jerry was just 
telling  you those are the names used by FreeBSD and Windows, 
respectively, for the  same thing.

Second, how to get your dual boot going -

1. I think if you do what you've already done in FreeBSD (set the 
Windows  slice/partition bootable) and then type w to write the 
change, that  should work.

If it doesn't, two other alternatives -

2. If you have a Win9x emergency boot/system floppy hanging around, 
use  fdisk to set the Windows partition/slice active, then reboot; or

3. Install GAG, a free, easy and automagical boot loader.  URL:  
http://gag.sourceforge.net/.

Hope this helps,

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


--

Christopher Hollow - Consultant
Infrastructure  Technology Support
Toronto, ON


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-27 Thread Jerry McAllister
 
 Just out of curiosity what is the order in creating a dual boot system?
 Which operating system do you put on first? I see that having WinXP
 setup in partitions is not a good idea, yet I'm not aware of how to load
 the system in just a slice? I would appreciate any and all help in
 trying to get this thing online. I need my workstation back as soon as
 possible. Thanks.

I am not sure which thing you are referring to when you use
the word 'order' but...

Install whatever MS-Win system you want to have first and make sure
it boots OK.

Then, use one or another utility to shrink the MS slice and make room
for another - you can have up to 4 primary slices.   FIPS works fine
if the MS slice (called partition in MS land) is a FAT, but if it
is NTFS you will need some more sophisticated utility like Partition Magic
(which is not free - about $69 in Best Buy type stores) I have heard
there is a newer free one now available that can handle NTFS and
MS extended slices (partitions in MS speak) but I don't remember the
name.   Partition Magic will create a slice (which they call partition
since they are mostly MS oriented) and mark it as a FAT32 - or something
else if you tell it too.

Then install FreeBSD.   Presuming you use the CD sysinstall method,
when you get to the partitioning stage it shows you the primary
slices on the disk and what they currently have in them.   Put the
cursor on the new FAT slice that was created when you resized stuff
with PM or FIPS and 'D' delete it.  Then hit 'C' create and it will
make that a FreeBSD slice.   Then hit 'S' make it bootable (which,
non-intuitively will put an 'A' in the Flags column to indicate it
should be bootable.   I have also, sometimes, moved the cursor up and
marked the slice with the MS system in it as bootable (hit 'S' on it)
but sometimes not bothered and it hasn't seemed to make a difference
as long as the MS system booted OK before I got started.

As soon as you get this done and hit 'Q' to save and go on, you will
be presented with a screen that has three choices.   
   BootMgrInstall the FreeBSD Boot Manager
   Standard   Install a standard MBR (no boot manager)
   None   Leave the Master Boot Record Untouched

On this screen you want to choose the first one:  BootMgr
Then use the tab to make sure OK is selected and go on to
the next stuff.

After this you will be put in to a screen to divide up the FreeBSD
slice in to partitions.   Do this as needed for your installation

From here on out you are past the boot stuff.  You will choose
what you want installed - if you have room, just grab it all,
and where you want to install from - FTP or CD, etc

Finish up the install and network configuration.

When you boot, you will be presented with a menu something like:

  F1  DOS
  F2  FreeBSD

or maybe 

  F1  ??
  F2  FreeBSD

or I have on one machine

  F1  ??
  F2  DOS
  F3  FreeBSD

because it is a Dell machine and has a bootable Dell Slice with
their maintenance stuff on it.

You get a menu listing for every slice that is marked bootable
regardless of what it is.   It labels all MS FAT slices as 'DOS'
regardless of which MS system is on it.. 
You get the ?? if the Boot Manager finds it bootable, but doesn't know 
sort of system it is - such as for NTFS.   It doesn't have to know what 
kind of system it is to boot it so the ?? doesn't matter.  It is just a 
cosmetic annoyance.   IF it is too much for your stomach to take, then 
you can get a fancier Boot Manager such as GAG or GRUB and install it
and you can configure those with whatever labels you want to use.
Those can be installed later after the system is fully installed 
and you have some time to play.  

The basic FreeBSD boot manager is small to fit in the official one 
sector space that is available.  The fancier boot managers generally use 
some additional space that, by convention is never otherwise used, but 
is not officially available for it.   I kind of with they (whoever does 
this sort of official definition) would just officially redefine the
standard so the whole unused cylinder was official boot mangler space.

jerry


 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
 
 -Original Message-
 From: Mark Weisman 
 Sent: Thursday, February 26, 2004 4:59 PM
 To: Jerry McAllister
 Cc: [EMAIL PROTECTED]
 Subject: RE: Boot and MBR.
 
 
 You are right, I have them setup originally under WinXP as partitions,
 then added FreeBSD to the second partition where it calls it a slice.
 Divided up the slice into the required folders. I have tested, and it is
 not cosmetic, in that when I select that menu item, the computer goes to
 the next row and stays indefinitely. I can put WinXP back on the
 computer if I have to, however, wouldn't that put the WinXP MBR on the
 box? I've gone in under fdisk and set the slice bootable, however
 nothing. I'm not sure how to install it now to just that slice. Any help
 would be greatly appreciated.
 
 Res Ipsa Loquitor

Re: Boot and MBR (Gnome)

2004-02-27 Thread Kevin D. Kinsey, DaleCo, S.P.
Matthew Seaman wrote:

On Thu, Feb 26, 2004 at 01:11:28PM -0900, Mark Weisman wrote:

 

The second question I have, is can I put the command startx into my
rc.conf file to have it boot directly into the x-server? Any help on
these two would be awesome. Thanks.
   



 

snip

If you're a Gnome user, there's a workalike program gdm(8) you might
want to use instead, and I believe the KDE stuff comes with (surprise,
surprise) kdm(8).  Their documentation should tell you exactly what
you need to put into /etc/ttys in order to substitute them for xdm(8).
	Cheers,

	Matthew

 

I did this just last night; this seems to do it
(and I was a bad boy, just hacked it w/o looking
at the docs) 
[EMAIL PROTECTED] [/home/kadmin][10:26]
#cat /etc/ttys | grep gdm
ttyv0   /usr/X11R6/bin/gdmcons25  on  secure
Kevin Kinsey
DaleCo, S.P.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-27 Thread Mark Weisman
I've installed GAG, and that is a really easy setup! It identified all
the partitions, and what was in them, stepped me through the process of
copying the manager to the disk and everything, kudos for the
recommendation! When I select to boot to the WindowsXP partition, it
come to a black screen with red squares in a diagonal line across the
screen, not sure but it doesn't look good. Have to hit reset on the box
to get out, the three finger salute doesn't work. I see the cursor
blinking in the upper left corner, yet no operating system. Any ideas?

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 7:24 AM
To: Mark Weisman
Cc: Jerry McAllister; [EMAIL PROTECTED]
Subject: Re: Boot and MBR.


 
 Just out of curiosity what is the order in creating a dual boot 
 system? Which operating system do you put on first? I see that having 
 WinXP setup in partitions is not a good idea, yet I'm not aware of how

 to load the system in just a slice? I would appreciate any and all 
 help in trying to get this thing online. I need my workstation back as

 soon as possible. Thanks.

I am not sure which thing you are referring to when you use
the word 'order' but...

Install whatever MS-Win system you want to have first and make sure it
boots OK.

Then, use one or another utility to shrink the MS slice and make room
for another - you can have up to 4 primary slices.   FIPS works fine
if the MS slice (called partition in MS land) is a FAT, but if it is
NTFS you will need some more sophisticated utility like Partition Magic
(which is not free - about $69 in Best Buy type stores) I have heard
there is a newer free one now available that can handle NTFS and MS
extended slices (partitions in MS speak) but I don't remember the
name.   Partition Magic will create a slice (which they call partition
since they are mostly MS oriented) and mark it as a FAT32 - or something
else if you tell it too.

Then install FreeBSD.   Presuming you use the CD sysinstall method,
when you get to the partitioning stage it shows you the primary
slices on the disk and what they currently have in them.   Put the
cursor on the new FAT slice that was created when you resized stuff with
PM or FIPS and 'D' delete it.  Then hit 'C' create and it will
make that a FreeBSD slice.   Then hit 'S' make it bootable (which,
non-intuitively will put an 'A' in the Flags column to indicate it
should be bootable.   I have also, sometimes, moved the cursor up and
marked the slice with the MS system in it as bootable (hit 'S' on it)
but sometimes not bothered and it hasn't seemed to make a difference as
long as the MS system booted OK before I got started.

As soon as you get this done and hit 'Q' to save and go on, you will
be presented with a screen that has three choices.   
   BootMgrInstall the FreeBSD Boot Manager
   Standard   Install a standard MBR (no boot manager)
   None   Leave the Master Boot Record Untouched

On this screen you want to choose the first one:  BootMgr
Then use the tab to make sure OK is selected and go on to
the next stuff.

After this you will be put in to a screen to divide up the FreeBSD
slice in to partitions.   Do this as needed for your installation

From here on out you are past the boot stuff.  You will choose what you
want installed - if you have room, just grab it all, and where you want
to install from - FTP or CD, etc

Finish up the install and network configuration.

When you boot, you will be presented with a menu something like:

  F1  DOS
  F2  FreeBSD

or maybe 

  F1  ??
  F2  FreeBSD

or I have on one machine

  F1  ??
  F2  DOS
  F3  FreeBSD

because it is a Dell machine and has a bootable Dell Slice with their
maintenance stuff on it.

You get a menu listing for every slice that is marked bootable
regardless of what it is.   It labels all MS FAT slices as 'DOS'
regardless of which MS system is on it.. 
You get the ?? if the Boot Manager finds it bootable, but doesn't know 
sort of system it is - such as for NTFS.   It doesn't have to know what 
kind of system it is to boot it so the ?? doesn't matter.  It is just a 
cosmetic annoyance.   IF it is too much for your stomach to take, then 
you can get a fancier Boot Manager such as GAG or GRUB and install it
and you can configure those with whatever labels you want to use. Those
can be installed later after the system is fully installed 
and you have some time to play.  

The basic FreeBSD boot manager is small to fit in the official one 
sector space that is available.  The fancier boot managers generally use

some additional space that, by convention is never otherwise used, but 
is not officially available for it.   I kind of with they (whoever does 
this sort of official definition) would just officially redefine the
standard so the whole unused cylinder was official boot mangler space.

jerry


 
 Res Ipsa Loquitor,
 Mark-Nathaniel

Re: Boot and MBR.

2004-02-27 Thread Jud

On Fri, 27 Feb 2004 10:50:03 -0500, HOLLOW, CHRISTOPHER
[EMAIL PROTECTED] said:

 Jud wrote:
[snip]
  3. Install GAG, a free, easy and automagical boot loader.  URL:  
  http://gag.sourceforge.net/.

 You can also Grub it up:
 
 http://www.gnu.org/software/grub/
 http://www.daemonnews.org/200102/grub.html
 
 
 Grub is a popular and well-supported OSS boot loader

Absolutely.  I've happily used Grub, but turned to GAG when I went to
RAID-0.

Grub is an excellent bootloader and learning tool.  The only reason I
didn't include it in my recommendations to the OP was that I figured he'd
be happier at this point with something very easy and automagic.

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-27 Thread Mark Weisman
I appreciate the ease of installation of Gag, however, my objectives
still not being met, when I boot into the Windows partition, I get an
error that shows little red squares in a diagonal pattern across the
screen. No Windows?

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jud [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 8:46 AM
To: HOLLOW, CHRISTOPHER; Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.



On Fri, 27 Feb 2004 10:50:03 -0500, HOLLOW, CHRISTOPHER
[EMAIL PROTECTED] said:

 Jud wrote:
[snip]
  3. Install GAG, a free, easy and automagical boot loader.  URL:
  http://gag.sourceforge.net/.

 You can also Grub it up:
 
 http://www.gnu.org/software/grub/ 
 http://www.daemonnews.org/200102/grub.html
 
 
 Grub is a popular and well-supported OSS boot loader

Absolutely.  I've happily used Grub, but turned to GAG when I went to
RAID-0.

Grub is an excellent bootloader and learning tool.  The only reason I
didn't include it in my recommendations to the OP was that I figured
he'd be happier at this point with something very easy and automagic.

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-27 Thread Jud

On Fri, 27 Feb 2004 08:06:43 -0900, Mark Weisman [EMAIL PROTECTED]
said:
 I've installed GAG, and that is a really easy setup! It identified all
 the partitions, and what was in them, stepped me through the process of
 copying the manager to the disk and everything, kudos for the
 recommendation! When I select to boot to the WindowsXP partition, it
 come to a black screen with red squares in a diagonal line across the
 screen, not sure but it doesn't look good. Have to hit reset on the box
 to get out, the three finger salute doesn't work. I see the cursor
 blinking in the upper left corner, yet no operating system. Any ideas?

First,

post.
top
don't
Please

Makes things harder to read in sequence.  :)

Second, you need to fix your WinXP installation.  Boot from the WinXP CD
and select to repair your installation.  Try the automatic repair first. 
If that doesn't work, select the repair console and use the 'fixboot' and
'fixmbr' commands.  If those don't work, boot from a Win9x
emergency/system floppy and use fdisk's 'fdisk /mbr' command.  Then
reinstall the FreeBSD MBR.  If you want to continue to use GAG, select
the 'normal' MBR for FreeBSD rather than the FreeBSD bootloader. 
Finally, you will have to redo your GAG configuration, or if your system
doesn't boot into GAG, reinstall it.

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR. Thank YOU!

2004-02-27 Thread Mark Weisman
Sorry for being such a pest, my boss kept asking why my computer wasn't
working, and I'm not ready to ready for him to know I've got BSD loaded.
I was in panic mode because I couldn't get my Windows XP screens and
applications to come up. I deeply apologize, I was finally able to read
all of your message Jerry and it worked they way you said it would. All
is well, I'm on my way to prove that I can get twice the stuff I need
through the open source community than we can buy through Microsoft.
Thanks for all the posts and help. You guys rock!

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-27 Thread HOLLOW, CHRISTOPHER
Mark,

  You might want to try booting the box with a Win98 Rescuse disk and 
running 'fdisk /mbr'.  This -should- re-window-ize the MBR.  Then run 
fdisk from the prompt and set the Windows partition as active.  Reboot 
and see if Windows boots normally.  You will not see any indication of 
the existance of the BSD installation at this point.  Should Windows 
come up okay, install Grub (or GAG if it suits your fancy) and you 
-should- be off and running.

DISCLAIMER:  The ^^^ -should- ^^^ is in there because I'm not entirely 
familiar with your environment and configuration.  As always, when 
working with partitions, it is possible that you will lose one, both or 
all of the slices and installations on the box.  If there is anything 
worth keeping, ensure you have it backed up...

HTH,

Chris

Mark Weisman wrote:

I appreciate the ease of installation of Gag, however, my objectives
still not being met, when I boot into the Windows partition, I get an
error that shows little red squares in a diagonal pattern across the
screen. No Windows?
Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net
-Original Message-
From: Jud [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 27, 2004 8:46 AM
To: HOLLOW, CHRISTOPHER; Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.



On Fri, 27 Feb 2004 10:50:03 -0500, HOLLOW, CHRISTOPHER
[EMAIL PROTECTED] said:
 

Jud wrote:
   

[snip]
 

3. Install GAG, a free, easy and automagical boot loader.  URL:
http://gag.sourceforge.net/.
 

 

You can also Grub it up:

http://www.gnu.org/software/grub/ 
http://www.daemonnews.org/200102/grub.html

Grub is a popular and well-supported OSS boot loader
   

Absolutely.  I've happily used Grub, but turned to GAG when I went to
RAID-0.
Grub is an excellent bootloader and learning tool.  The only reason I
didn't include it in my recommendations to the OP was that I figured
he'd be happier at this point with something very easy and automagic.
Jud

 

--

Christopher Hollow - Consultant
Infrastructure  Technology Support
Toronto, ON


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR. Thank YOU!

2004-02-27 Thread Jerry McAllister
 
 Sorry for being such a pest, my boss kept asking why my computer wasn't
 working, and I'm not ready to ready for him to know I've got BSD loaded.
 I was in panic mode because I couldn't get my Windows XP screens and
 applications to come up. I deeply apologize, I was finally able to read
 all of your message Jerry and it worked they way you said it would. All
 is well, I'm on my way to prove that I can get twice the stuff I need
 through the open source community than we can buy through Microsoft.
 Thanks for all the posts and help. You guys rock!

Glad it is working.   You can experiment later with prettier
Boot Manglers, etc, but up and actually running always seems to
me to be the first step.

jerry

 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-26 Thread Jerry McAllister
 
 I've got my primary drive divided in two partitions, one partition had
 WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP
 installed and working until I put FreeBSD on the second partition and
 had it take control of the MBR. I know that the other partition is still
 bootable if I can get a pointer to it, currently the boot menu shows it
 as:
   F!: ??
   F2: FreeBSD
 How can I get that first menu choice to look at the installation on the
 first partition as bootable? Making the machine a dual boot between the
 two system?

The fact that it displays ?? is only a cosmetic problem.
Have you tried selecting F1 to see if it will boot the XP slice?   
Mine does.

Also, a side issue, in FreeBSD land, what you have is a disk
with tw0 'slices' as apposed to partitions.   Probably you have
your FreeBSD slice divided up in to several 'partitions'.   MS calls
the primary divisions of a disk partitions, but in BSD UNIX land they
are called slices.

 The second question I have, is can I put the command startx into my
 rc.conf file to have it boot directly into the x-server? Any help on
 these two would be awesome. Thanks.

I have not been successfule with that sort of thing.   Anyway, I 
don't think just putting it in rc.conf would do the trick because 
that just sets a bunch of variables in there.  Then the stuff is
actually run from rc (and some other places I think) using those 
variable values set in /etc/defaults/rc.conf and /etc/rc.conf..

I think you might not want your startx to fire off until after
you log in anyway.That would mean putting it in .login (if 
you have a csh or tcsh shell)  and that is what didn't work
for me, though I didn't try many variations.

But, someone else better weigh in on this.

jerry

 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-26 Thread Mark Weisman
You are right, I have them setup originally under WinXP as partitions,
then added FreeBSD to the second partition where it calls it a slice.
Divided up the slice into the required folders. I have tested, and it is
not cosmetic, in that when I select that menu item, the computer goes to
the next row and stays indefinitely. I can put WinXP back on the
computer if I have to, however, wouldn't that put the WinXP MBR on the
box? I've gone in under fdisk and set the slice bootable, however
nothing. I'm not sure how to install it now to just that slice. Any help
would be greatly appreciated.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 1:27 PM
To: Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.


 
 I've got my primary drive divided in two partitions, one partition had

 WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP

 installed and working until I put FreeBSD on the second partition and 
 had it take control of the MBR. I know that the other partition is 
 still bootable if I can get a pointer to it, currently the boot menu 
 shows it
 as:
   F!: ??
   F2: FreeBSD
 How can I get that first menu choice to look at the installation on
the
 first partition as bootable? Making the machine a dual boot between
the
 two system?

The fact that it displays ?? is only a cosmetic problem.
Have you tried selecting F1 to see if it will boot the XP slice?   
Mine does.

Also, a side issue, in FreeBSD land, what you have is a disk
with tw0 'slices' as apposed to partitions.   Probably you have
your FreeBSD slice divided up in to several 'partitions'.   MS calls
the primary divisions of a disk partitions, but in BSD UNIX land they
are called slices.

 The second question I have, is can I put the command startx into my 
 rc.conf file to have it boot directly into the x-server? Any help on 
 these two would be awesome. Thanks.

I have not been successfule with that sort of thing.   Anyway, I 
don't think just putting it in rc.conf would do the trick because 
that just sets a bunch of variables in there.  Then the stuff is
actually run from rc (and some other places I think) using those 
variable values set in /etc/defaults/rc.conf and /etc/rc.conf..

I think you might not want your startx to fire off until after
you log in anyway.That would mean putting it in .login (if 
you have a csh or tcsh shell)  and that is what didn't work
for me, though I didn't try many variations.

But, someone else better weigh in on this.

jerry

 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
 ___
 [EMAIL PROTECTED] mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-26 Thread Robert Storey

  The second question I have, is can I put the command startx into my
  rc.conf file to have it boot directly into the x-server? Any help on
  these two would be awesome. Thanks.
 
 I have not been successfule with that sort of thing.   Anyway, I 
 don't think just putting it in rc.conf would do the trick because 
 that just sets a bunch of variables in there.  Then the stuff is
 actually run from rc (and some other places I think) using those 
 variable values set in /etc/defaults/rc.conf and /etc/rc.conf..
 
 I think you might not want your startx to fire off until after
 you log in anyway.That would mean putting it in .login (if 
 you have a csh or tcsh shell)  and that is what didn't work
 for me, though I didn't try many variations.

If you're running the Bash shell, putting startx into file
~/.bash_profile will have the desired effect. Under FBSD, by default
there is no .bash_profile file, so just create one for each individual
user who wants to start up in X.

regards,
Robert


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Boot and MBR.

2004-02-26 Thread Jud
On Thu, 26 Feb 2004 17:18:01 -0900, Mark Weisman [EMAIL PROTECTED] wrote:

Just out of curiosity what is the order in creating a dual boot system?
Which operating system do you put on first? I see that having WinXP
setup in partitions is not a good idea, yet I'm not aware of how to load
the system in just a slice? I would appreciate any and all help in
trying to get this thing online. I need my workstation back as soon as
possible. Thanks.
[snip]
I've got my primary drive divided in two partitions, one partition had

WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP

installed and working until I put FreeBSD on the second partition and
had it take control of the MBR. I know that the other partition is
still bootable if I can get a pointer to it, currently the boot menu
shows it
as:
  F!: ??
  F2: FreeBSD
How can I get that first menu choice to look at the installation on
the
first partition as bootable? Making the machine a dual boot between
the
two system?
First off, don't worry about slice vs partition - Jerry was just telling  
you those are the names used by FreeBSD and Windows, respectively, for the  
same thing.

Second, how to get your dual boot going -

1. I think if you do what you've already done in FreeBSD (set the Windows  
slice/partition bootable) and then type w to write the change, that  
should work.

If it doesn't, two other alternatives -

2. If you have a Win9x emergency boot/system floppy hanging around, use  
fdisk to set the Windows partition/slice active, then reboot; or

3. Install GAG, a free, easy and automagical boot loader.  URL:  
http://gag.sourceforge.net/.

Hope this helps,

Jud
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-26 Thread Mark Weisman
Hey all,
  I've tried setting the MBR within fdisk from the FBSD side of the house, however, it 
won't set. I go through all the motions, yet when it goes to write it says that it 
can't write to drsk ad0. I then went into a dos boot using a Windows98 boot disk and 
made the partition active, it still will not boot into the Windows partition. For the 
life of me, I cannot think of how to fix this. I need some help, any ideas?

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic_One Internet Gaming Servers
Anchorage, AK
http://games.mystic1.net

 --
 From: Jud
 Sent: Thursday, February 26, 2004 5:49 PM
 To:   Mark Weisman; Jerry McAllister
 Cc:   [EMAIL PROTECTED]
 Subject:  Re: Boot and MBR.
 
 On Thu, 26 Feb 2004 17:18:01 -0900, Mark Weisman [EMAIL PROTECTED] wrote:
 
  Just out of curiosity what is the order in creating a dual boot system?
  Which operating system do you put on first? I see that having WinXP
  setup in partitions is not a good idea, yet I'm not aware of how to load
  the system in just a slice? I would appreciate any and all help in
  trying to get this thing online. I need my workstation back as soon as
  possible. Thanks.
 [snip]
  I've got my primary drive divided in two partitions, one partition had
 
  WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP
 
  installed and working until I put FreeBSD on the second partition and
  had it take control of the MBR. I know that the other partition is
  still bootable if I can get a pointer to it, currently the boot menu
  shows it
  as:
F!: ??
F2: FreeBSD
  How can I get that first menu choice to look at the installation on
  the
  first partition as bootable? Making the machine a dual boot between
  the
  two system?
 
 First off, don't worry about slice vs partition - Jerry was just telling  
 you those are the names used by FreeBSD and Windows, respectively, for the  
 same thing.
 
 Second, how to get your dual boot going -
 
 1. I think if you do what you've already done in FreeBSD (set the Windows  
 slice/partition bootable) and then type w to write the change, that  
 should work.
 
 If it doesn't, two other alternatives -
 
 2. If you have a Win9x emergency boot/system floppy hanging around, use  
 fdisk to set the Windows partition/slice active, then reboot; or
 
 3. Install GAG, a free, easy and automagical boot loader.  URL:  
 http://gag.sourceforge.net/.
 
 Hope this helps,
 
 Jud
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Boot and MBR.

2004-02-26 Thread Mark Weisman
Just out of curiosity what is the order in creating a dual boot system?
Which operating system do you put on first? I see that having WinXP
setup in partitions is not a good idea, yet I'm not aware of how to load
the system in just a slice? I would appreciate any and all help in
trying to get this thing online. I need my workstation back as soon as
possible. Thanks.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Mark Weisman 
Sent: Thursday, February 26, 2004 4:59 PM
To: Jerry McAllister
Cc: [EMAIL PROTECTED]
Subject: RE: Boot and MBR.


You are right, I have them setup originally under WinXP as partitions,
then added FreeBSD to the second partition where it calls it a slice.
Divided up the slice into the required folders. I have tested, and it is
not cosmetic, in that when I select that menu item, the computer goes to
the next row and stays indefinitely. I can put WinXP back on the
computer if I have to, however, wouldn't that put the WinXP MBR on the
box? I've gone in under fdisk and set the slice bootable, however
nothing. I'm not sure how to install it now to just that slice. Any help
would be greatly appreciated.

Res Ipsa Loquitor,
Mark-Nathaniel Weisman
Site Master
Mystic1.net


-Original Message-
From: Jerry McAllister [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 26, 2004 1:27 PM
To: Mark Weisman
Cc: [EMAIL PROTECTED]
Subject: Re: Boot and MBR.


 
 I've got my primary drive divided in two partitions, one partition had

 WindowsXP and the other has FreeBSD 5.1-Release on it. I had WindowsXP

 installed and working until I put FreeBSD on the second partition and
 had it take control of the MBR. I know that the other partition is 
 still bootable if I can get a pointer to it, currently the boot menu 
 shows it
 as:
   F!: ??
   F2: FreeBSD
 How can I get that first menu choice to look at the installation on
the
 first partition as bootable? Making the machine a dual boot between
the
 two system?

The fact that it displays ?? is only a cosmetic problem.
Have you tried selecting F1 to see if it will boot the XP slice?   
Mine does.

Also, a side issue, in FreeBSD land, what you have is a disk
with tw0 'slices' as apposed to partitions.   Probably you have
your FreeBSD slice divided up in to several 'partitions'.   MS calls
the primary divisions of a disk partitions, but in BSD UNIX land they
are called slices.

 The second question I have, is can I put the command startx into my
 rc.conf file to have it boot directly into the x-server? Any help on 
 these two would be awesome. Thanks.

I have not been successfule with that sort of thing.   Anyway, I 
don't think just putting it in rc.conf would do the trick because 
that just sets a bunch of variables in there.  Then the stuff is
actually run from rc (and some other places I think) using those 
variable values set in /etc/defaults/rc.conf and /etc/rc.conf..

I think you might not want your startx to fire off until after
you log in anyway.That would mean putting it in .login (if 
you have a csh or tcsh shell)  and that is what didn't work
for me, though I didn't try many variations.

But, someone else better weigh in on this.

jerry

 
 Res Ipsa Loquitor,
 Mark-Nathaniel Weisman
 Site Master
 Mystic1.net
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]