Re: unable to use BOOT EASY to boot linux

2004-04-08 Thread Gary W. Swearingen
Johnson David [EMAIL PROTECTED] writes:

 On Wednesday 07 April 2004 02:21 pm, Tadimeti Keshav wrote:
 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

 So far this is correct. LILO needs to be on the *root* partition.

No, it doesn't.  It only needs to be on some boot record: the MBR or
the BR of one of the 4 primary partitions.  It was once common to put
it on a small /boot partition in the first 1024 cylinders (no longer
necessary), with the Linux root partition above 1024.

 The standard boot loader is NOT a boot loader. All it will do is boot 
 the partition that is marked bootable. You want to choose BootMgr for 
 each harddrive, if you want to use the FreeBSD boot manager. Please see 
 the section in the Handbook 2.5.3 Install a Boot Manager.

The IBM/MSFT(?)-standard boot loader *is* a boot loader; just slightly
less sophisticated than Boot Easy, and not interactive.  Both load
more further bootstrap code to boot one or more OSes (or some program
for that matter).  I guess it's debatable, depending on definitions,
whether the standard boot loader is a boot manager.

 It's amazing that they were able to fit a general purpose boot manager 
 into only 512 bytes! Chapter 7 of the Handbook The FreeBSD Booting 
 Process describes this in excruciating detail.

It fits in 447 (=512-1-16*4) bytes, IIRC.  Beware that the Handbook's
stage one is (at least) the third stage in the bootstrap process,
counting the BIOS boot code and the MBR boot code.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unable to use BOOT EASY to boot linux

2004-04-08 Thread Johnson David
On Thursday 08 April 2004 04:40 pm, Gary W. Swearingen wrote:

  So far this is correct. LILO needs to be on the *root* partition.

 No, it doesn't.  It only needs to be on some boot record: the MBR or
 the BR of one of the 4 primary partitions.  It was once common to put
 it on a small /boot partition in the first 1024 cylinders (no longer
 necessary), with the Linux root partition above 1024.

You are correct. I was assuming the use of the FreeBSD Boot Manager to 
control the second harddrive as well, in which case you would want it 
on the MBR instead of LILO.

The advantage of the FreeBSD Boot Manager is that you can put it on the 
MBR and not have to configure it later if you add another OS to the 
second harddrive. With LILO you would need to boot into Linux to 
reconfigure it. (And ditto for Grub if you installed it to a Linux 
filesystem).

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


Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread RazorOnFreeBSD
I had this issue between linux and windows and I had to install Lilo on the
first disk only because bios is giving the hand to the first disk and from
there you can setup your boot loader to recognize all systems available and
where they are.

I am not a specialist there, I just tell you what worked for me and what was
the explanation given to me.

- Original Message - 
From: Tadimeti Keshav [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 11:21 PM
Subject: unable to use BOOT EASY to boot linux


 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

 I am trying configure Boot Easy to boot linux.
 Since FreeBSD occupies all of the 1st HD, should I
 install a STANDARD boot loader on first or on both
 Hard disks.

 thx

 =
 -- K E S H A V  T A D I M E T I --





 
 Yahoo! Messenger - Communicate instantly...Ping
 your friends today! Download Messenger Now
 http://uk.messenger.yahoo.com/download/index.html
 ___
 [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: unable to use BOOT EASY to boot linux

2004-04-07 Thread Jerry McAllister
 
 I had this issue between linux and windows and I had to install Lilo on the
 first disk only because bios is giving the hand to the first disk and from
 there you can setup your boot loader to recognize all systems available and
 where they are.
 
 I am not a specialist there, I just tell you what worked for me and what was
 the explanation given to me.
 
 - Original Message - 
 From: Tadimeti Keshav [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Sent: Wednesday, April 07, 2004 11:21 PM
 Subject: unable to use BOOT EASY to boot linux
 
 
  hi all.
  I added a 2 GB linux disk as a slave and installed
  Mandrake Linux with LILO on the root partition of
  linux.
 
  I am trying configure Boot Easy to boot linux.
  Since FreeBSD occupies all of the 1st HD, should I
  install a STANDARD boot loader on first or on both
  Hard disks.

If I understand what you are asking - FreeBSD on disk0 and Linux
on disk1, then you need to install an MBR and a standard book
sector on disk 0.

jerry

 
  thx
 
  =
  -- K E S H A V  T A D I M E T I --
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread Johnson David
On Wednesday 07 April 2004 02:21 pm, Tadimeti Keshav wrote:
 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

So far this is correct. LILO needs to be on the *root* partition.

 I am trying configure Boot Easy to boot linux.
 Since FreeBSD occupies all of the 1st HD, should I
 install a STANDARD boot loader on first or on both
 Hard disks.

The standard boot loader is NOT a boot loader. All it will do is boot 
the partition that is marked bootable. You want to choose BootMgr for 
each harddrive, if you want to use the FreeBSD boot manager. Please see 
the section in the Handbook 2.5.3 Install a Boot Manager.

The boot menu will display the partitions named by partition type 
(FreeBSD, Linux, DOS, ??). All partitions will be listed, not just the 
ones that are bootable. It's very easy to use if you know what your 
partitions are.

It's amazing that they were able to fit a general purpose boot manager 
into only 512 bytes! Chapter 7 of the Handbook The FreeBSD Booting 
Process describes this in excruciating detail.

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


Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread Johnson David
On Wednesday 07 April 2004 02:56 pm, Jerry McAllister wrote:

 If I understand what you are asking - FreeBSD on disk0 and Linux
 on disk1, then you need to install an MBR and a standard book
 sector on disk 0.

But the standard boot sector will not boot to disk 1. Quoting from the 
Handbook:

If you only have one operating system installed on your disks then the 
standard MBR will suffice. This MBR searches for the first bootable 
slice on the disk, and then runs the code on that slice to load the 
remainder of the operating system.

If you have installed multiple operating systems on your disks then you 
can install a different MBR, one that can display a list of different 
operating systems, and allows you to choose the one to boot from. 
FreeBSD comes with one such MBR which can be installed, and other 
operating system vendors also provide alternative MBRs.

What's confusing about the process is that there doesn't seem to be a 
common name for the FreeBSD MBR. In sysinstall it is called 
BootMgr. In the booting section of the handbook and a few man pages 
it is called boot0. It's also commonly referred to as Boot Easy.

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


Re: unable to use BOOT EASY to boot linux

2004-04-07 Thread Gary W. Swearingen
Tadimeti Keshav [EMAIL PROTECTED] writes:

 hi all.
 I added a 2 GB linux disk as a slave and installed
 Mandrake Linux with LILO on the root partition of
 linux.

 I am trying configure Boot Easy to boot linux.
 Since FreeBSD occupies all of the 1st HD, should I
 install a STANDARD boot loader on first or on both
 Hard disks.

I'm not exactly sure what Boot Easy is, but the standard FreeBSD MBR
(as installed by boot0cfg or sysinstall) can only boot another boot
record and only those on that disk's primary partitions or the MBR of
another disk.  If you're going to have BootEasy on the first disk, you
probably want LILO in the second disk's MBR, but you could put a
second BootEasy (or other boot loader) in the second disk's MBR and
put LILO in one of the second disk's primary partitions.  LILO works
(or used to) even on an extended primary partition which has extended
secondary (AKA logical) partitions.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]