RE: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-16 Thread Eric F Crist
My mistake, I meant:

make depend; make; make install

I wrote this one one line/command for simplicity.  When I do this
process, I usually do it in three separate commands, so I know exactly
where it's failing.

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gautam
Gopalakrishnan
Sent: Tuesday, December 16, 2003 2:31 AM
To: hugle
Cc: [EMAIL PROTECTED]
Subject: Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR


On Tue, Dec 16, 2003 at 08:44:08AM -0800, hugle wrote:
> MS>   # make; make depend; make install
>
> at step 4, you should do: make depend && make && make install

Well, why not "make depend all install"?

Gautam

___
[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: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-16 Thread Gautam Gopalakrishnan
On Tue, Dec 16, 2003 at 08:44:08AM -0800, hugle wrote:
> MS>   # make; make depend; make install
> 
> at step 4, you should do: make depend && make && make install

Well, why not "make depend all install"?

Gautam

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


Re[2]: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread hugle
MS> There's actually a very simple process to use to upgrade, providing you
MS> have a broadband connection:

MS> 1) cvsup your sources to the newer sources.  For more information read
MS> about cvsup or checkout the handbook!
MS> 2) once you have new sources, cd to /usr/src and type make world; this
MS> could take an hour or more
MS> 3) if this completes OK, cd to /usr/src/sys/i386/conf (on 386-based
MS> processor systems) and type:
MS> # config GENERIC (or whatever your kernel config file is)
MS> 4) type:
MS> # cd ../../compile/GENERIC (or name of kernel config file)
MS> # make; make depend; make install
MS> 5) if this completes OK, type:
MS> # shutdown -r now
MS> 6) once rebooted, login, and check uname -a.  You will see stats for a
MS> 4.9-x kernel!

at step 4, you should do: make depend && make && make install

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


Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread paul van den bergen
Yes, I am familiar with that upgrade path...  Part of my motivation was ... 
well, lazyness :-) using someone elses worked out example, part a desire to 
blow away a rather mixed and heavily tweeked system (read I've been 
experimenting on it for so long I'm not sure what I've done anymore)...  and 
a small part the thrill of tackling an interesting problem... ( "Bored Now!" )

In particular I wanted to completely remove a whole bunch of pkg_adds I'd done 
manually without doing pkg_delete or whatever...  given there was nothing I 
needed to keep, I figured it was easier to reinstall from scratch 
(4.9-RELEASE), with or without cvsup'ing to 4.9 stable.

On Tue, 16 Dec 2003 11:56 am, Minnesota Slinky wrote:
> There's actually a very simple process to use to upgrade, providing you
> have a broadband connection:
>
> 1) cvsup your sources to the newer sources.  For more information read
> about cvsup or checkout the handbook!
> 2) once you have new sources, cd to /usr/src and type make world; this
> could take an hour or more
> 3) if this completes OK, cd to /usr/src/sys/i386/conf (on 386-based
> processor systems) and type:
>   # config GENERIC (or whatever your kernel config file is)
> 4) type:
>   # cd ../../compile/GENERIC (or name of kernel config file)
>   # make; make depend; make install
> 5) if this completes OK, type:
>   # shutdown -r now
> 6) once rebooted, login, and check uname -a.  You will see stats for a
> 4.9-x kernel!
>
> HTH
>
> Eric F Crist
> President
> AdTech Integrated Systems, Inc
> (612) 998-3588
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of paul van den
> bergen
> Sent: Monday, December 15, 2003 6:42 PM
> To: FreeBSD-questions
> Cc: [EMAIL PROTECTED]
> Subject: Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR
>
>
> After all that angst, I couldn't get it to work anyway - on reboot the
> system
> reverted to a 4.8 kernel...  Not sure why, but gave up at this point...
>
> On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote:
> > On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
> > > Hi...
> >
> > snip...
> >
> > I stuffed up...
> >
> > > # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
> > > # mkdir /bootfloppy
> > > # mount_mfs /dev/vn1c /bootfloppy/
> >
> > ^
> > does not work...
> > try simply
> >
> > # mount /dev/vn1c /bootfloppy/

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


RE: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread Minnesota Slinky
There's actually a very simple process to use to upgrade, providing you
have a broadband connection:

1) cvsup your sources to the newer sources.  For more information read
about cvsup or checkout the handbook!
2) once you have new sources, cd to /usr/src and type make world; this
could take an hour or more
3) if this completes OK, cd to /usr/src/sys/i386/conf (on 386-based
processor systems) and type:
# config GENERIC (or whatever your kernel config file is)
4) type:
# cd ../../compile/GENERIC (or name of kernel config file)
# make; make depend; make install
5) if this completes OK, type:
# shutdown -r now
6) once rebooted, login, and check uname -a.  You will see stats for a
4.9-x kernel!

HTH

Eric F Crist
President
AdTech Integrated Systems, Inc
(612) 998-3588
 


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of paul van den
bergen
Sent: Monday, December 15, 2003 6:42 PM
To: FreeBSD-questions
Cc: [EMAIL PROTECTED]
Subject: Re: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR


After all that angst, I couldn't get it to work anyway - on reboot the
system 
reverted to a 4.8 kernel...  Not sure why, but gave up at this point...

On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote:
> On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
> > Hi...
>
> snip...
>
> I stuffed up...
>
> > # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
> > # mkdir /bootfloppy
> > # mount_mfs /dev/vn1c /bootfloppy/
>
> ^
> does not work...
> try simply
>
> # mount /dev/vn1c /bootfloppy/

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

___
[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: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-15 Thread paul van den bergen
After all that angst, I couldn't get it to work anyway - on reboot the system 
reverted to a 4.8 kernel...  Not sure why, but gave up at this point...

On Fri, 12 Dec 2003 05:25 pm, paul van den bergen wrote:
> On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
> > Hi...
>
> snip...
>
> I stuffed up...
>
> > # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
> > # mkdir /bootfloppy
> > # mount_mfs /dev/vn1c /bootfloppy/
>
> ^
> does not work...
> try simply
>
> # mount /dev/vn1c /bootfloppy/

-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


Re: howto upgrade 4.8 to 4.9 without cdrom or floppy?

2003-12-11 Thread Robert Watson

On Fri, 12 Dec 2003, paul van den bergen wrote:

> on freebsd-hackers, Alfred Perlstein posted a method that allows
> boot-disk-less installation... but it requires mdconfig, a 5.1
> utility... 
> 
> is there a method to do this under 4.8? 
> 
> it seems to me that the job performed by md0 could be done with vn0 e.g. 

If you're willing to build from the source tree, the
buildworld/buildkernel/installkernel/reboot/installworld/mergemaster route
is actually quite reliable.  I just upgraded a 4.6 box to 4.9 a couple of
days ago, remotely with no serial console, cdrom, or floppy, without a
hitch.

Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
[EMAIL PROTECTED]  Senior Research Scientist, McAfee Research



> 
> do 
> # ls /dev/vn*
> if empty do
> # cd /dev
> # ./MAKEDEV vn0
> # ./MAKEDEV vn1
> # vnconfig vn0 /path/to/freebsd/4.9.iso
> # mount_cd9660 /dev/vn0c /path/to/freebsd4.9
> 
> or however you access the freebsd install iso disk
> the point being to get access to the /floppies/boot.flp image on the cdrom
> 
> # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
> # mkdir /bootfloppy
> # mount_mfs /dev/vn1c /bootfloppy/
> # cp /bootfloppy/kernel.gz /ikernel.gz
> # cp /bootfloppy/mfsroot.gz /mfsroot.gz
> 
> then reboot as described...
> 
> I am about to try this out... wish me luck!
> 
> 
> On Mon, 1 Dec 2003 07:18 pm, Alfred Perlstein wrote:
> > I have a mini-HOWTO here that possibly be automated.
> >
> > Basically we're going to install FreeBSD over FreeBSD without
> > a floppy, cdrom or pxe.
> >
> > This depends on a loader that's compatible with your kernel
> > so if really weird lockups happen, you might not be compatible.
> >
> >
> > Anyhow, here we go:
> >
> >
> > Download the boot.flp from the release you want to install.
> >
> > Mount it like so:
> > mdconfig -a -t vnode -f boot.flp
> > # should output something like 'md0'
> > mkdir -p /mnt
> > mount /dev/md0 /mnt
> >
> > Copy the yummy bits from the install image to your root:
> > cp /mnt/kernel.gz /ikernel.gz
> > cp /mnt/mfsroot.gz /mfsroot.gz
> >
> > Now reboot and interrupt the loader when it counts down the boot.
> >
> > Then type these commands into the loader:
> > unload kernel
> > load /ikernel
> > load -t mfs_root /mfsroot
> > set vfs.root.mountfrom
> > boot
> >
> > Now cross your fingers once you wipe the partitions out to reinstall...
> >
> >
> > It would be cool if this could be automated[1], perhaps by setting
> > the boot partition to the swap partition and setting it up temporarily
> > as a ufs filesystem and then... oh... well...
> >
> > [1] http://www.jerkcity.com/jerkcity1426.html
> 
> 
> 
> -- 
> Dr Paul van den Bergen
> Centre for Advanced Internet Architectures
> caia.swin.edu.au
> [EMAIL PROTECTED]
> IM:bulwynkl2002
> "And some run up hill and down dale, knapping the chucky stones 
> to pieces wi' hammers, like so many road makers run daft. 
> They say it is to see how the world was made."
> Sir Walter Scott, St. Ronan's Well 1824 
> 
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> 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: howto upgrade 4.8 to 4.9 without cdrom or floppy? ERROR

2003-12-11 Thread paul van den bergen
On Fri, 12 Dec 2003 05:17 pm, paul van den bergen wrote:
> Hi...
>
snip...

I stuffed up...

> # vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
> # mkdir /bootfloppy
> # mount_mfs /dev/vn1c /bootfloppy/
^
does not work...
try simply

# mount /dev/vn1c /bootfloppy/





-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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


howto upgrade 4.8 to 4.9 without cdrom or floppy?

2003-12-11 Thread paul van den bergen
Hi...

on freebsd-hackers, Alfred Perlstein posted a method that allows 
boot-disk-less installation... but it requires mdconfig, a 5.1 utility...

is there a method to do this under 4.8?

it seems to me that the job performed by md0 could be done with vn0
e.g.

do 
# ls /dev/vn*
if empty do
# cd /dev
# ./MAKEDEV vn0
# ./MAKEDEV vn1
# vnconfig vn0 /path/to/freebsd/4.9.iso
# mount_cd9660 /dev/vn0c /path/to/freebsd4.9

or however you access the freebsd install iso disk
the point being to get access to the /floppies/boot.flp image on the cdrom

# vnconfig vn1 /path/to/freebsd4.9/floppies/boot.flp
# mkdir /bootfloppy
# mount_mfs /dev/vn1c /bootfloppy/
# cp /bootfloppy/kernel.gz /ikernel.gz
# cp /bootfloppy/mfsroot.gz /mfsroot.gz

then reboot as described...

I am about to try this out... wish me luck!


On Mon, 1 Dec 2003 07:18 pm, Alfred Perlstein wrote:
> I have a mini-HOWTO here that possibly be automated.
>
> Basically we're going to install FreeBSD over FreeBSD without
> a floppy, cdrom or pxe.
>
> This depends on a loader that's compatible with your kernel
> so if really weird lockups happen, you might not be compatible.
>
>
> Anyhow, here we go:
>
>
> Download the boot.flp from the release you want to install.
>
> Mount it like so:
> mdconfig -a -t vnode -f boot.flp
> # should output something like 'md0'
> mkdir -p /mnt
> mount /dev/md0 /mnt
>
> Copy the yummy bits from the install image to your root:
> cp /mnt/kernel.gz /ikernel.gz
> cp /mnt/mfsroot.gz /mfsroot.gz
>
> Now reboot and interrupt the loader when it counts down the boot.
>
> Then type these commands into the loader:
> unload kernel
> load /ikernel
> load -t mfs_root /mfsroot
> set vfs.root.mountfrom
> boot
>
> Now cross your fingers once you wipe the partitions out to reinstall...
>
>
> It would be cool if this could be automated[1], perhaps by setting
> the boot partition to the swap partition and setting it up temporarily
> as a ufs filesystem and then... oh... well...
>
> [1] http://www.jerkcity.com/jerkcity1426.html



-- 
Dr Paul van den Bergen
Centre for Advanced Internet Architectures
caia.swin.edu.au
[EMAIL PROTECTED]
IM:bulwynkl2002
"And some run up hill and down dale, knapping the chucky stones 
to pieces wi' hammers, like so many road makers run daft. 
They say it is to see how the world was made."
Sir Walter Scott, St. Ronan's Well 1824 

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