Re: Dualboot Ntloader "invalid slice"

2006-10-23 Thread Jerry McAllister
On Sun, Oct 22, 2006 at 10:41:50AM +0200, Laurens Timmermans wrote:

> Kent Stewart schreef:
> >
> >Well "copy" will sometimes copy as asci instead of binary. You have /a and 
> >/b to force one type or the other.
> >
> >Xcopy, I think, always copies binary. I think a drag and drop does will 
> >also prefer to copy as binary.
> >
> >Kent
> >
> 
> I tried the following:
> 
> "bsdlabel -B ad0s3"
> according to the manual this should recreate boot1 and boot2 ? I made a 
> backup of boot1 but the above command does not recreate boot1. It only 
> does something with /boot/boot. So i restored the backup of boot1, 
> copied the first 512 bytes of /boot/boot to a usb-stick using dd. I 
> booted back into windows and used xcopy to copy the boot1-file to my c:.
> 
> But still i get "Invalid slice"

I didn't see what the OP was, but fdisk is what creates slices, not bsdlabel.
bsdlabel subdivides slices (or a psuedo-slice on a dangerously dedicated disk).

jerry

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


Re: Dualboot Ntloader "invalid slice"

2006-10-22 Thread Kent Stewart
On Sunday 22 October 2006 05:45, Kent Stewart wrote:
> On Sunday 22 October 2006 01:41, Laurens Timmermans wrote:
> > Kent Stewart schreef:
> > > Well "copy" will sometimes copy as asci instead of binary. You
> > > have /a and /b to force one type or the other.
> > >
> > > Xcopy, I think, always copies binary. I think a drag and drop
> > > does will also prefer to copy as binary.
> > >
> > > Kent
> >
> > I tried the following:
> >
> > "bsdlabel -B ad0s3"
> > according to the manual this should recreate boot1 and boot2 ? I
> > made a backup of boot1 but the above command does not recreate
> > boot1. It only does something with /boot/boot. So i restored the
> > backup of boot1, copied the first 512 bytes of /boot/boot to a
> > usb-stick using dd. I booted back into windows and used xcopy to
> > copy the boot1-file to my c:.
> >
> > But still i get "Invalid slice"
>
> The boot1 I use is created when you do the installworld and
> is /boot/boot1.
>
> When you are on the same HD as your Windows ntldr, that is all you
> need to use.
>

I went back to the source and it looks like RU recently updated boot1 (1 
Oct). The boot1 I use came from a 6.0 or 6.1 iso. I will try the boot1 
that my current 6-stable creates but I am still in the middle of doing 
a

portupgrade -rf libgpg-error

It still has a while to go :).

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dualboot Ntloader "invalid slice"

2006-10-22 Thread Kent Stewart
On Sunday 22 October 2006 01:41, Laurens Timmermans wrote:
> Kent Stewart schreef:
> > Well "copy" will sometimes copy as asci instead of binary. You have
> > /a and /b to force one type or the other.
> >
> > Xcopy, I think, always copies binary. I think a drag and drop does
> > will also prefer to copy as binary.
> >
> > Kent
>
> I tried the following:
>
> "bsdlabel -B ad0s3"
> according to the manual this should recreate boot1 and boot2 ? I made
> a backup of boot1 but the above command does not recreate boot1. It
> only does something with /boot/boot. So i restored the backup of
> boot1, copied the first 512 bytes of /boot/boot to a usb-stick using
> dd. I booted back into windows and used xcopy to copy the boot1-file
> to my c:.
>
> But still i get "Invalid slice"

The boot1 I use is created when you do the installworld and 
is /boot/boot1.

When you are on the same HD as your Windows ntldr, that is all you need 
to use.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dualboot Ntloader "invalid slice"

2006-10-22 Thread Laurens Timmermans

Kent Stewart schreef:


Well "copy" will sometimes copy as asci instead of binary. You have /a and /b 
to force one type or the other.


Xcopy, I think, always copies binary. I think a drag and drop does will also 
prefer to copy as binary.


Kent



I tried the following:

"bsdlabel -B ad0s3"
according to the manual this should recreate boot1 and boot2 ? I made a 
backup of boot1 but the above command does not recreate boot1. It only 
does something with /boot/boot. So i restored the backup of boot1, 
copied the first 512 bytes of /boot/boot to a usb-stick using dd. I 
booted back into windows and used xcopy to copy the boot1-file to my c:.


But still i get "Invalid slice"

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


Re: Dualboot Ntloader "invalid slice"

2006-10-21 Thread Laurens Timmermans

Kent Stewart schreef:

On Saturday 21 October 2006 11:19, Laurens Timmermans wrote:

Kent Stewart schreef:

On Saturday 21 October 2006 09:07, Laurens Timmermans wrote:

Hi,

I am trying to get a double boot system on my laptop with ...

That is very similar to what I am using right now on this computer
and 3 others. What does your boot.ini look like.

Kent

My boot.ini looks like this:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP
Professinal" /noexecute=optin /fastdetect
c:\boot1="FreeBSD"



The only difference is I called it bootsect.bsd to make it look like 
everything else. Could you have somehow copied it badly. I always have 
a machine running and did a binary ftp to the local machine and then 
renamed to to the *.bsd.


Kent



I don't see what could have gone wrong with the copying. I tried a 
couple of times.


Tore Lund schreef:
> Laurens Timmermans wrote:
>> Hi,
>>
>> I am trying to get a double boot system on my laptop with FreeBSD ...
>
> I found a thread that may or may not be relevant - this message in
> particular:
>
> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-09/0177.html
>
> Start of thread:
>
> http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-09/0079.html

Thank you for that link, the problem described there is in a way similar 
to mine. Unfortunately the problem was fixed by updating the bios, and i 
already have the latest version (A04) for my laptop (Dell Precision M70).




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


Re: Dualboot Ntloader "invalid slice"

2006-10-21 Thread Tore Lund
Laurens Timmermans wrote:
> Hi,
> 
> 
> I am trying to get a double boot system on my laptop with FreeBSD and 
> Windows XP. I have tried this before using NTLOADER on my desktop-pc (by 
> following the directions in the faq) and it works like a charm, but not 
> on my laptop...
> I installed FreeBSD, copied /boot/boot1 to a usb-stick, set my 
> windows-slice active and added a freebsd-entry to my boot.ini.
> When i boot i get the ntloader-menu, it boots xp just fine but when i 
> choose FreeBSD i get "invalid slice". I can get back into my 
> freebsd-install by setting it's slice active again (using boot/rescue-cd).
> I am using FreeBSD 6.2-beta2 (because of support for my pentium M).

I found a thread that may or may not be relevant - this message in
particular:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-09/0177.html

Start of thread:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2005-09/0079.html
-- 
Tore



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


Re: Dualboot Ntloader "invalid slice"

2006-10-21 Thread Kent Stewart
On Saturday 21 October 2006 11:19, Laurens Timmermans wrote:
> Kent Stewart schreef:
> > On Saturday 21 October 2006 09:07, Laurens Timmermans wrote:
> >> Hi,
> >>
> >>
> >> I am trying to get a double boot system on my laptop with FreeBSD
> >> and Windows XP. I have tried this before using NTLOADER on my
> >> desktop-pc (by following the directions in the faq) and it works
> >> like a charm, but not on my laptop...
> >> I installed FreeBSD, copied /boot/boot1 to a usb-stick, set my
> >> windows-slice active and added a freebsd-entry to my boot.ini.
> >> When i boot i get the ntloader-menu, it boots xp just fine but
> >> when i choose FreeBSD i get "invalid slice". I can get back into
> >> my freebsd-install by setting it's slice active again (using
> >> boot/rescue-cd). I am using FreeBSD 6.2-beta2 (because of support
> >> for my pentium M). My disk looks as following:
> >>
> >> -ad0s1 = dell recovery-partition
> >> -ad0s2 = NTFS (windows xp)
> >> -ad0s3 = FreeBSD
> >>
> >> from fstab:
> >> +ad0s3b = swap
> >> +ad0s3a = /
> >> +ad0s3e = /tmp
> >> +ad0s3f = /usr
> >> +ad0s3d = /var
> >>
> >> How can i get this to work using ntloader ?
> >
> > That is very similar to what I am using right now on this computer
> > and 3 others. What does your boot.ini look like.
> >
> > Kent
>
> My boot.ini looks like this:
>
> [boot loader]
> timeout=5
> default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
> [operating systems]
> multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP
> Professinal" /noexecute=optin /fastdetect
> c:\boot1="FreeBSD"
>

The only difference is I called it bootsect.bsd to make it look like 
everything else. Could you have somehow copied it badly. I always have 
a machine running and did a binary ftp to the local machine and then 
renamed to to the *.bsd.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Dualboot Ntloader "invalid slice"

2006-10-21 Thread Laurens Timmermans

Kent Stewart schreef:

On Saturday 21 October 2006 09:07, Laurens Timmermans wrote:

Hi,


I am trying to get a double boot system on my laptop with FreeBSD and
Windows XP. I have tried this before using NTLOADER on my desktop-pc
(by following the directions in the faq) and it works like a charm,
but not on my laptop...
I installed FreeBSD, copied /boot/boot1 to a usb-stick, set my
windows-slice active and added a freebsd-entry to my boot.ini.
When i boot i get the ntloader-menu, it boots xp just fine but when i
choose FreeBSD i get "invalid slice". I can get back into my
freebsd-install by setting it's slice active again (using
boot/rescue-cd). I am using FreeBSD 6.2-beta2 (because of support for
my pentium M). My disk looks as following:

-ad0s1 = dell recovery-partition
-ad0s2 = NTFS (windows xp)
-ad0s3 = FreeBSD

from fstab:
+ad0s3b = swap
+ad0s3a = /
+ad0s3e = /tmp
+ad0s3f = /usr
+ad0s3d = /var

How can i get this to work using ntloader ?



That is very similar to what I am using right now on this computer and 3 
others. What does your boot.ini look like.


Kent



My boot.ini looks like this:

[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP 
Professinal" /noexecute=optin /fastdetect

c:\boot1="FreeBSD"

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


Re: Dualboot Ntloader "invalid slice"

2006-10-21 Thread Kent Stewart
On Saturday 21 October 2006 09:07, Laurens Timmermans wrote:
> Hi,
>
>
> I am trying to get a double boot system on my laptop with FreeBSD and
> Windows XP. I have tried this before using NTLOADER on my desktop-pc
> (by following the directions in the faq) and it works like a charm,
> but not on my laptop...
> I installed FreeBSD, copied /boot/boot1 to a usb-stick, set my
> windows-slice active and added a freebsd-entry to my boot.ini.
> When i boot i get the ntloader-menu, it boots xp just fine but when i
> choose FreeBSD i get "invalid slice". I can get back into my
> freebsd-install by setting it's slice active again (using
> boot/rescue-cd). I am using FreeBSD 6.2-beta2 (because of support for
> my pentium M). My disk looks as following:
>
> -ad0s1 = dell recovery-partition
> -ad0s2 = NTFS (windows xp)
> -ad0s3 = FreeBSD
>
> from fstab:
> +ad0s3b = swap
> +ad0s3a = /
> +ad0s3e = /tmp
> +ad0s3f = /usr
> +ad0s3d = /var
>
> How can i get this to work using ntloader ?
>

That is very similar to what I am using right now on this computer and 3 
others. What does your boot.ini look like.

Kent

-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"