Re: Please test for 8G-OVER-Booting with /boot/loader
Hi At Tue, 28 Mar 2000 06:46:27 -0500 (EST), John Baldwin <[EMAIL PROTECTED]> wrote: > >> Looks good to me, but I need to test it to make sure. I will also look > >> at seeing if I can squeeze the int 13 extension installation check into > >> boot1 and boot0 so that they will use packet mode automatically as well. > Oh, I remember. This just checks if the controller supports LBA. You also > need to check if the drive supports LBA. The problem is with older drives. > Hmm, I'll look around to see if you can ask the BIOS for drive capabilities. I have convinced that there are no widespread services to query whether drive supports LBA. So I changed my patch to use Packet I/F only when we need to access over 8GB. Please review and test following patch. Thanks. -- Motomichi Matsuzaki <[EMAIL PROTECTED]> Dept. of Biological Sciences, Grad. School of Science, Univ. of Tokyo, Japan biosdisk.c.diff
Re: Please test for 8G-OVER-Booting with /boot/loader
Little tip for would-be grub users... I had to play with the compiler flags quite a bit to get a bootable image. I suggest taking the flags used to compile the FreeBSD boot loaders and using them. On Thu, 30 Mar 2000, Vladik wrote: > Hi, for now I am doing this every time (but I also do not > reboot too often). > GRUB has a curses-like based menu thing where you > can specify what to boot and how. You have to > set the config file during the compilation. And then > compile, and then build the floppy with that or install > on to the MBR. And I have not done that yet. > > -- > Vladislav > > Charles Anderson wrote: > > > > Do you do this everytime or just to get things started? > > > > If it's everytime, man that's a pain, if it's just to get things > > started it's easier than what I did. (but now I get a list of what I > > want to boot from the NT bootloader, and I just hit the arrow down to > > FreeBSD and go.) > > > > -Charlie > > On Wed, Mar 29, 2000 at 03:21:39PM -0500, Vladik wrote: > > > Hello, > > > I am not sure if this exactly on topic, > > > but this is how I boot freeBSD partition that is installed > > > beyond cyl 1024 > > > > > > > > > I use GRUB boot loader that understands LBA (www.gnu.org/grub) > > > > > > Once GRUB boots from a floppy, go to GRUB's command prompt and > > > do the following: > > > > > > root (hd0,3,a) # or whatever your FreeBSD root slice is > > > #after the command above, it mounted the partition > > > > > > kernel /kernel -remount > > > boot > > > > > > When kernel boots to the point where it needs to mount a root > > > partion it will ask you, > > > in there you type > > > ufs:/dev/ad0s4a > > > > > > > > > > > > Vladislav > > > > -- > > Charles Anderson[EMAIL PROTECTED] > > > > No quote, no nothin' > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > -- _ __ ___ ___ ___ ___ Wesley N Morgan _ __ ___ | _ ) __| \ [EMAIL PROTECTED] _ __ | _ \._ \ |) | FreeBSD: The Power To Serve _ |___/___/___/ Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
Hi, for now I am doing this every time (but I also do not reboot too often). GRUB has a curses-like based menu thing where you can specify what to boot and how. You have to set the config file during the compilation. And then compile, and then build the floppy with that or install on to the MBR. And I have not done that yet. -- Vladislav Charles Anderson wrote: > > Do you do this everytime or just to get things started? > > If it's everytime, man that's a pain, if it's just to get things > started it's easier than what I did. (but now I get a list of what I > want to boot from the NT bootloader, and I just hit the arrow down to > FreeBSD and go.) > > -Charlie > On Wed, Mar 29, 2000 at 03:21:39PM -0500, Vladik wrote: > > Hello, > > I am not sure if this exactly on topic, > > but this is how I boot freeBSD partition that is installed > > beyond cyl 1024 > > > > > > I use GRUB boot loader that understands LBA (www.gnu.org/grub) > > > > Once GRUB boots from a floppy, go to GRUB's command prompt and > > do the following: > > > > root (hd0,3,a) # or whatever your FreeBSD root slice is > > #after the command above, it mounted the partition > > > > kernel /kernel -remount > > boot > > > > When kernel boots to the point where it needs to mount a root > > partion it will ask you, > > in there you type > > ufs:/dev/ad0s4a > > > > > > > > Vladislav > > -- > Charles Anderson[EMAIL PROTECTED] > > No quote, no nothin' To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
Do you do this everytime or just to get things started? If it's everytime, man that's a pain, if it's just to get things started it's easier than what I did. (but now I get a list of what I want to boot from the NT bootloader, and I just hit the arrow down to FreeBSD and go.) -Charlie On Wed, Mar 29, 2000 at 03:21:39PM -0500, Vladik wrote: > Hello, > I am not sure if this exactly on topic, > but this is how I boot freeBSD partition that is installed > beyond cyl 1024 > > > I use GRUB boot loader that understands LBA (www.gnu.org/grub) > > Once GRUB boots from a floppy, go to GRUB's command prompt and > do the following: > > root (hd0,3,a) # or whatever your FreeBSD root slice is > #after the command above, it mounted the partition > > kernel /kernel -remount > boot > > When kernel boots to the point where it needs to mount a root > partion it will ask you, > in there you type > ufs:/dev/ad0s4a > > > > Vladislav -- Charles Anderson[EMAIL PROTECTED] No quote, no nothin' To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
Hello, I am not sure if this exactly on topic, but this is how I boot freeBSD partition that is installed beyond cyl 1024 I use GRUB boot loader that understands LBA (www.gnu.org/grub) Once GRUB boots from a floppy, go to GRUB's command prompt and do the following: root (hd0,3,a) # or whatever your FreeBSD root slice is #after the command above, it mounted the partition kernel /kernel -remount boot When kernel boots to the point where it needs to mount a root partion it will ask you, in there you type ufs:/dev/ad0s4a Vladislav Charles Anderson wrote: > > I have a Thinkpad 600X here that I installed freebsd on the third partition, > but couldn't boot because of the >1024 cylinder bit, so I booted a Fixit > floppy mounted my freebsd partitions, installed this patch, patched boot1 > to always try packet mode and copied it over to the ntfs boot partition and > used it from the NT Loader, and it booted right up, both natively and under > VMware. > > I had to do a lot of mucking around to get things to the point where I could > mount slice 3, the FreeBSD partition, and build the new boot code. > > -Charlie > On Tue, Mar 28, 2000 at 02:21:36PM +0900, NAKAJI Hiroyuki wrote: > > How can I test this with FreeBSD which is installed over-8GB area and > > can't boot? > > > > I have a PC on which Solaris7 is installed within 8GB from the start > > of disk and FreeBSD 3.3-RELEASE is installed after(?) it. > > > > The installation was successfull. But I can't boot it. > > > > How can I install this patched /boot/loader in this dead system? > > -- > > NAKAJI Hiroyuki > > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > > with "unsubscribe freebsd-current" in the body of the message > > -- > Charles Anderson[EMAIL PROTECTED] > > No quote, no nothin' > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
Thanks, Charlie. > In <[EMAIL PROTECTED]> > "Charles Anderson" <[EMAIL PROTECTED]> wrote: C> I have a Thinkpad 600X here that I installed freebsd on the third C> partition, but couldn't boot because of the >1024 cylinder bit, so C> I booted a Fixit floppy mounted my freebsd partitions, installed C> this patch, patched boot1 to always try packet mode and copied it C> over to the ntfs boot partition and used it from the NT Loader, and C> it booted right up, both natively and under VMware. I'll try. This is my first time to use Fixit floppy. :) -- NAKAJI Hiroyuki To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
I have a Thinkpad 600X here that I installed freebsd on the third partition, but couldn't boot because of the >1024 cylinder bit, so I booted a Fixit floppy mounted my freebsd partitions, installed this patch, patched boot1 to always try packet mode and copied it over to the ntfs boot partition and used it from the NT Loader, and it booted right up, both natively and under VMware. I had to do a lot of mucking around to get things to the point where I could mount slice 3, the FreeBSD partition, and build the new boot code. -Charlie On Tue, Mar 28, 2000 at 02:21:36PM +0900, NAKAJI Hiroyuki wrote: > How can I test this with FreeBSD which is installed over-8GB area and > can't boot? > > I have a PC on which Solaris7 is installed within 8GB from the start > of disk and FreeBSD 3.3-RELEASE is installed after(?) it. > > The installation was successfull. But I can't boot it. > > How can I install this patched /boot/loader in this dead system? > -- > NAKAJI Hiroyuki > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message -- Charles Anderson[EMAIL PROTECTED] No quote, no nothin' To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
On 28-Mar-00 Daniel C. Sobral wrote: > John Baldwin wrote: >> >> Looks good to me, but I need to test it to make sure. I will also look >> at seeing if I can squeeze the int 13 extension installation check into >> boot1 and boot0 so that they will use packet mode automatically as well. > > I recall comments (by rnordier/msmith) to the effect that packet mode > support might break things. Oh, I remember. This just checks if the controller supports LBA. You also need to check if the drive supports LBA. The problem is with older drives. Hmm, I'll look around to see if you can ask the BIOS for drive capabilities. -- John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
John Baldwin wrote: > > Looks good to me, but I need to test it to make sure. I will also look > at seeing if I can squeeze the int 13 extension installation check into > boot1 and boot0 so that they will use packet mode automatically as well. I recall comments (by rnordier/msmith) to the effect that packet mode support might break things. -- Daniel C. Sobral(8-DCS) [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] The size of the pizza is inversely proportional to the intensity of the hunger. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Please test for 8G-OVER-Booting with /boot/loader
How can I test this with FreeBSD which is installed over-8GB area and can't boot? I have a PC on which Solaris7 is installed within 8GB from the start of disk and FreeBSD 3.3-RELEASE is installed after(?) it. The installation was successfull. But I can't boot it. How can I install this patched /boot/loader in this dead system? -- NAKAJI Hiroyuki To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
RE: Please test for 8G-OVER-Booting with /boot/loader
On 27-Mar-00 Motomichi Matsuzaki wrote: > > Hi. > > I made a patch for /sys/boot/i386/libi386/biosdisk.c (attached). > This aimed to enable /boot/loader to manage 8G-OVER-Disks. > > 0. you need 8G-OVER-ENABLED BIOS for your motherboard >(check whether your BIOS has Int 13 Extended Interface) > > 1. teach boot0 using extended BIOS (See boot0cfg(8)) > > # boot0cfg -o packet YOUR-BOOT-DEVICE > > 2. install boot2 which have extended BIOS support > > # cd /sys/boot/i386/boot2; make B1FLAGS=0x80 clean install > > 3. patch to libi386 and install new /boot/loader > > # cd /sys/boot/i386/libi386/; patch # cd /sys/boot/i386/loader; make install Looks good to me, but I need to test it to make sure. I will also look at seeing if I can squeeze the int 13 extension installation check into boot1 and boot0 so that they will use packet mode automatically as well. I'll try and test this out in a day or two. -- John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message