* Fedora from Mike Barnes
@ 2004-07-12 22:25 achapkis
2004-07-13 0:48 ` michal
2004-07-23 18:05 ` rreed
0 siblings, 2 replies; 12+ messages in thread
From: achapkis @ 2004-07-12 22:25 UTC (permalink / raw)
Hello everyone!
I am happy to inform you that I've got Mike's Fedora installed and running on my Miata as of last Sunday. The
installation process was hectic and cumbersome, since the only bootable media I had was RH7.2
Here's the overall process that took me 6 hours (in case anyone is interested):
1. Booted and installed base RH7.2 system. This was optional as I didn't want to have a complexity over the packages
place. But I did manage to pull all the packaged (2.8G) onto a single partition.
2. Booted RH7.2 CD into resque mode. mkfs.ext3 on future / and /usr/local (optional) partitions (since I already had
those from the step 1, but didn't want to update RH7.2 packages). Then mounted them under /mnt/root,
/mnt/root/usr/local and /mnt/root/data (later still has packages).
3. Install packages with rpm -Uh --root=/mnt/root This step was most time consuming as I didn't want to install
everything and at the same time wanted to follow dependencies. I still had to overcome some cyclical dependencies, but
there weren't many of them. Unfortunately I didn't write down the order, but I guess it's part of anaconda's config.
4. After about 500 pkgs installed, I figure it's time to try the installation. However I still needed to manually
master some config files (/etc/hosts, /etc/aboot.conf, /etc/fstab, /etc/sysconfig/network etc). One more thing that got
me on reboot is initrd.img was missing SCSI driver for my system. Had to do mkinitrd to fix it.
5. Booted the system up and enjoyed nice KDE interface. KStars doesn't crash anymore :)
Special thanks to Mike and Balint for making all these packages!
Arc C.
achapkis at dls.net
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-12 22:25 achapkis
@ 2004-07-13 0:48 ` michal
2004-07-13 1:00 ` gleblanc
2004-07-13 7:02 ` achapkis
2004-07-23 18:05 ` rreed
1 sibling, 2 replies; 12+ messages in thread
From: michal @ 2004-07-13 0:48 UTC (permalink / raw)
On Mon, Jul 12, 2004 at 05:25:29PM -0500, Arkadiy Chapkis - Arc wrote:
>
> 3. Install packages with rpm -Uh --root=/mnt/root This step was most
> time consuming as I didn't want to install everything and at the same
> time wanted to follow dependencies.
Once you installed enough to get yum running after chroot then you could
have use that to install the rest. yum does resolve dependencies and it
will run with a URL of 'file://' kind in its configuration where a
content of that URL is an absolute path to a directory where your
'headers' are (and you can recreate that information at any moment with
a help of yum-arch).
> Unfortunately I didn't write down the order, but I guess it's part of
> anaconda's config.
The above would save you quite a bit of time. 'anaconda' actually
installs using '--nodeps'. A version of rpm used in Fedora has also an
'--aid' option but that requires that 'rpmdb' package is installed.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-13 0:48 ` michal
@ 2004-07-13 1:00 ` gleblanc
2004-07-13 7:02 ` achapkis
1 sibling, 0 replies; 12+ messages in thread
From: gleblanc @ 2004-07-13 1:00 UTC (permalink / raw)
On Mon, 2004-07-12 at 17:48, Michal Jaegermann wrote:
> On Mon, Jul 12, 2004 at 05:25:29PM -0500, Arkadiy Chapkis - Arc wrote:
> >
> > 3. Install packages with rpm -Uh --root=/mnt/root This step was most
> > time consuming as I didn't want to install everything and at the same
> > time wanted to follow dependencies.
>
> Once you installed enough to get yum running after chroot then you could
> have use that to install the rest. yum does resolve dependencies and it
> will run with a URL of 'file://' kind in its configuration where a
> content of that URL is an absolute path to a directory where your
> 'headers' are (and you can recreate that information at any moment with
> a help of yum-arch).
I managed to get a lot of help from yum when doing something similar for
the SPARC port of Fedora. To get a running system, I used a
super-minimal install of Aurora (RH 7.3, essentially), upgraded to our
latest build of Fedora, then installed additional packages as needed.
Though if you were trying to test out upgrade paths or dependencies,
that might not be the way to go.
Greg
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-13 7:02 ` achapkis
@ 2004-07-13 4:16 ` michal
2004-07-13 9:00 ` strepsil
0 siblings, 1 reply; 12+ messages in thread
From: michal @ 2004-07-13 4:16 UTC (permalink / raw)
On Tue, Jul 13, 2004 at 03:02:03AM -0400, Arc C. wrote:
> I'm assuming yum is a set of python scripts, but still uses rpm.
Kind of.
> And that's what the problem was - I couldn't use rpm from Fedora while
> booted into RH7.2 installation - somehow the old kernel prevented rpm
> from working.
Running with ASSUME_KERNEL=2.4.6 in environment, or something of that
sort, would likely solve that issue. If not then installing just enough
to boot into a single user mode and continue from there would be another
option. Yet another is to get yum for Red Hat 7.3 (such beast exists)
up and running on your original installation. I cannot be sure of all
details as I did not try that myself but usually there are various ways
to skin a proverbial cat.
Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-13 0:48 ` michal
2004-07-13 1:00 ` gleblanc
@ 2004-07-13 7:02 ` achapkis
2004-07-13 4:16 ` michal
1 sibling, 1 reply; 12+ messages in thread
From: achapkis @ 2004-07-13 7:02 UTC (permalink / raw)
? I'm assuming yum is a set of python scripts, but still uses rpm. And that's
what the problem was - I couldn't use rpm from Fedora while booted into RH7.2
installation - somehow the old kernel prevented rpm from working. Until I
could get my system to boot from the fedora's kernel, I couldn't use rpm.
> On Mon, Jul 12, 2004 at 05:25:29PM -0500, Arkadiy Chapkis - Arc wrote:
> > 3. Install packages with rpm -Uh --root=/mnt/root This step was most
> > time consuming as I didn't want to install everything and at the same
> > time wanted to follow dependencies.
>
> Once you installed enough to get yum running after chroot then you could
> have use that to install the rest. yum does resolve dependencies and it
> will run with a URL of 'file://' kind in its configuration where a
> content of that URL is an absolute path to a directory where your
> 'headers' are (and you can recreate that information at any moment with
> a help of yum-arch).
>
> > Unfortunately I didn't write down the order, but I guess it's part of
> > anaconda's config.
>
> The above would save you quite a bit of time. 'anaconda' actually
> installs using '--nodeps'. A version of rpm used in Fedora has also an
> '--aid' option but that requires that 'rpmdb' package is installed.
>
> Michal
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-13 4:16 ` michal
@ 2004-07-13 9:00 ` strepsil
0 siblings, 0 replies; 12+ messages in thread
From: strepsil @ 2004-07-13 9:00 UTC (permalink / raw)
Wow. Things all got ahead while I was away.
Sorry for not being very responsive lately, folks. I spent last week
at an OS X conference (doing a talk on systems integration and LDAP,
which was fun) and have just started a new job this week.
I have a substantial amount of uploading to do. The version of the
tree that's sitting on the FTP server right now is pretty out of date.
It's mostly what's running on my development machine, but I've since
recompiled the whole tree over again under the more up-to-date system,
which stabilised things quite nicely.
Crisitan also has a nicely sanitised version of glibc-kernheaders, and
is now getting good builds of glibc. EV6 optimised builds should be
possible now, as soon as I get a free moment to fire up the hardware.
Getting the installer working is really bogged down. Was just starting
to discuss the situation on Anaconda-Devel when I left for Sydney last
week. Will get back on top of that soon.
All in all, it's looking good - but we're a fair way off yet. Anyone
who gets their system up to the point mentioned earlier in this thread
has a really good base to start building on. :)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-12 22:25 achapkis
2004-07-13 0:48 ` michal
@ 2004-07-23 18:05 ` rreed
1 sibling, 0 replies; 12+ messages in thread
From: rreed @ 2004-07-23 18:05 UTC (permalink / raw)
I am trying this, but I have hit a snag. When I cleaned /, I lost the
rpm database. Do you remember what the first packages were that you
installed and the command line in the rescue mode to do the install?
Ron
On Mon, 2004-07-12 at 17:25, Arkadiy Chapkis - Arc wrote:
> Hello everyone!
>
> I am happy to inform you that I've got Mike's Fedora installed and running on my Miata as of last Sunday. The
> installation process was hectic and cumbersome, since the only bootable media I had was RH7.2
> Here's the overall process that took me 6 hours (in case anyone is interested):
>
> 1. Booted and installed base RH7.2 system. This was optional as I didn't want to have a complexity over the packages
> place. But I did manage to pull all the packaged (2.8G) onto a single partition.
>
> 2. Booted RH7.2 CD into resque mode. mkfs.ext3 on future / and /usr/local (optional) partitions (since I already had
> those from the step 1, but didn't want to update RH7.2 packages). Then mounted them under /mnt/root,
> /mnt/root/usr/local and /mnt/root/data (later still has packages).
>
> 3. Install packages with rpm -Uh --root=/mnt/root This step was most time consuming as I didn't want to install
> everything and at the same time wanted to follow dependencies. I still had to overcome some cyclical dependencies, but
> there weren't many of them. Unfortunately I didn't write down the order, but I guess it's part of anaconda's config.
>
> 4. After about 500 pkgs installed, I figure it's time to try the installation. However I still needed to manually
> master some config files (/etc/hosts, /etc/aboot.conf, /etc/fstab, /etc/sysconfig/network etc). One more thing that got
> me on reboot is initrd.img was missing SCSI driver for my system. Had to do mkinitrd to fix it.
>
> 5. Booted the system up and enjoyed nice KDE interface. KStars doesn't crash anymore :)
>
> Special thanks to Mike and Balint for making all these packages!
>
>
> Arc C.
> achapkis at dls.net
>
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
@ 2004-07-23 18:24 achapkis
2004-07-23 18:41 ` rreed
2004-08-17 17:09 ` scott_hempstead
0 siblings, 2 replies; 12+ messages in thread
From: achapkis @ 2004-07-23 18:24 UTC (permalink / raw)
I think it was basesystem. However you will have to manually create a directory for rpm DB:
# mkdir -p /mnt/your_root/var/lib/rpm
and then may be do
# rom --initdb --root=/mnt/your_root
>
>I am trying this, but I have hit a snag. When I cleaned /, I lost the
>rpm database. Do you remember what the first packages were that you
>installed and the command line in the rescue mode to do the install?
>
>Ron
Arc C.
achapkis at dls.net
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-23 18:24 Fedora from Mike Barnes achapkis
@ 2004-07-23 18:41 ` rreed
2004-08-17 17:09 ` scott_hempstead
1 sibling, 0 replies; 12+ messages in thread
From: rreed @ 2004-07-23 18:41 UTC (permalink / raw)
I finally remembered that after I took a close look at what the rpm
program was telling me. So I have started to install the packages, but I
have a long way to go in order to get a working system. Thanks for the
help.
Ron
On Fri, 2004-07-23 at 13:24, Arkadiy Chapkis - Arc wrote:
> I think it was basesystem. However you will have to manually create a directory for rpm DB:
> # mkdir -p /mnt/your_root/var/lib/rpm
> and then may be do
> # rom --initdb --root=/mnt/your_root
>
> >
> >I am trying this, but I have hit a snag. When I cleaned /, I lost the
> >rpm database. Do you remember what the first packages were that you
> >installed and the command line in the rescue mode to do the install?
> >
> >Ron
>
>
> Arc C.
> achapkis at dls.net
>
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
--
===========================
Ron Reed
RedHat Certified Engineer
SGP Computer Department Manager
Unix Systems Administrator
ARM SGP CART Site
(580)388-4053
ron.reed at arm.gov
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-07-23 18:24 Fedora from Mike Barnes achapkis
2004-07-23 18:41 ` rreed
@ 2004-08-17 17:09 ` scott_hempstead
1 sibling, 0 replies; 12+ messages in thread
From: scott_hempstead @ 2004-08-17 17:09 UTC (permalink / raw)
Arc,
I am running into a snag trying to upgrade using your
process below. I have a RH7.2 install on one disk,
and a blank disk that is mounted as /mnt/newroot as
described below. I pulled all the SRPMS, RPMS
structure from Mikes website and have them in
/opt/alpha... I cd'd into this /opt/alpha structure
to get to the rpm's and executed "rpm -Uvh
--root=/mnt/newroot" and it came back with an RPM
error--no packages given. I changed the command to
"rpm -Uvh *.rpm --root=/mnt/newroot" and get a
dependency error on a package called "junit".
Any advice or assistance on how I can proceed would be
appreciated. Do I find this junit SRPM and compile
it? would there be a mismatch against glibc of 7.2
vs. FC2, etc.?
Thanks,
Scott
--- Arkadiy Chapkis - Arc <achapkis at dls.net> wrote:
> I think it was basesystem. However you will have to
> manually create a directory for rpm DB:
> # mkdir -p /mnt/your_root/var/lib/rpm
> and then may be do
> # rom --initdb --root=/mnt/your_root
>
> >
> >I am trying this, but I have hit a snag. When I
> cleaned /, I lost the
> >rpm database. Do you remember what the first
> packages were that you
> >installed and the command line in the rescue mode
> to do the install?
> >
> >Ron
>
>
> Arc C.
>
> achapkis at dls.net
>
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
@ 2004-08-17 17:44 achapkis
2004-08-17 17:50 ` scott_hempstead
0 siblings, 1 reply; 12+ messages in thread
From: achapkis @ 2004-08-17 17:44 UTC (permalink / raw)
My process was more complicated. Of course there's an argument to the rpm command (has to be a package name(s)).
Trying to install everything without checking for dependencies (rpm -Uh --nodeps *.rpm) will result in a lot of
unnecessary things, taking up a lot of disk space. What I did instead is worked every package I wanted to find out its
dependencies and install them first. And that could be a tedious task as you explore a whole chain of dependencies and
sub-dependencies. This is how I did it. Sometimes the dependencies could be a filename(s) instead of an RPM. For this
I made a reference list:
# cd /where/your/rpms/are
# for i in `ls *.rpm`;do
> echo "------- $i -------" >> allfiles.txt
> rpm -qlp $i >> allfiles.txt
> done
After a while you're going to end up with a big text file 'allfiles.txt' where you have listing of all the RPMs and
the files in each one of them. vi or less this file every time you will need to find a dependable file.
>Arc,
>
>I am running into a snag trying to upgrade using your
>process below. I have a RH7.2 install on one disk,
>and a blank disk that is mounted as /mnt/newroot as
>described below. I pulled all the SRPMS, RPMS
>structure from Mikes website and have them in
>/opt/alpha... I cd'd into this /opt/alpha structure
>to get to the rpm's and executed "rpm -Uvh
>--root=/mnt/newroot" and it came back with an RPM
>error--no packages given. I changed the command to
>"rpm -Uvh *.rpm --root=/mnt/newroot" and get a
>dependency error on a package called "junit".
>
>Any advice or assistance on how I can proceed would be
>appreciated. Do I find this junit SRPM and compile
>it? would there be a mismatch against glibc of 7.2
>vs. FC2, etc.?
>
>Thanks,
>
>Scott
Arc C.
achapkis at dls.net
^ permalink raw reply [flat|nested] 12+ messages in thread
* Fedora from Mike Barnes
2004-08-17 17:44 achapkis
@ 2004-08-17 17:50 ` scott_hempstead
0 siblings, 0 replies; 12+ messages in thread
From: scott_hempstead @ 2004-08-17 17:50 UTC (permalink / raw)
Great information--Thank you. I'll start plugging
away at it and hopefully with a few late nights, I to
can be an FC2 on Alpha resource.
Thanks again
SH
--- Arkadiy Chapkis - Arc <achapkis at dls.net> wrote:
> My process was more complicated. Of course there's
> an argument to the rpm command (has to be a package
> name(s)).
> Trying to install everything without checking for
> dependencies (rpm -Uh --nodeps *.rpm) will result in
> a lot of
> unnecessary things, taking up a lot of disk space.
> What I did instead is worked every package I wanted
> to find out its
> dependencies and install them first. And that could
> be a tedious task as you explore a whole chain of
> dependencies and
> sub-dependencies. This is how I did it. Sometimes
> the dependencies could be a filename(s) instead of
> an RPM. For this
> I made a reference list:
>
> # cd /where/your/rpms/are
> # for i in `ls *.rpm`;do
> > echo "------- $i -------" >> allfiles.txt
> > rpm -qlp $i >> allfiles.txt
> > done
>
> After a while you're going to end up with a big
> text file 'allfiles.txt' where you have listing of
> all the RPMs and
> the files in each one of them. vi or less this file
> every time you will need to find a dependable file.
>
> >Arc,
> >
> >I am running into a snag trying to upgrade using
> your
> >process below. I have a RH7.2 install on one disk,
> >and a blank disk that is mounted as /mnt/newroot as
> >described below. I pulled all the SRPMS, RPMS
> >structure from Mikes website and have them in
> >/opt/alpha... I cd'd into this /opt/alpha
> structure
> >to get to the rpm's and executed "rpm -Uvh
> >--root=/mnt/newroot" and it came back with an RPM
> >error--no packages given. I changed the command to
> >"rpm -Uvh *.rpm --root=/mnt/newroot" and get a
> >dependency error on a package called "junit".
> >
> >Any advice or assistance on how I can proceed would
> be
> >appreciated. Do I find this junit SRPM and compile
> >it? would there be a mismatch against glibc of 7.2
> >vs. FC2, etc.?
> >
> >Thanks,
> >
> >Scott
>
>
> Arc C.
>
> achapkis at dls.net
>
>
> _______________________________________________
> axp-list mailing list
> axp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/axp-list
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2004-08-17 17:50 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-23 18:24 Fedora from Mike Barnes achapkis
2004-07-23 18:41 ` rreed
2004-08-17 17:09 ` scott_hempstead
-- strict thread matches above, loose matches on Subject: below --
2004-08-17 17:44 achapkis
2004-08-17 17:50 ` scott_hempstead
2004-07-12 22:25 achapkis
2004-07-13 0:48 ` michal
2004-07-13 1:00 ` gleblanc
2004-07-13 7:02 ` achapkis
2004-07-13 4:16 ` michal
2004-07-13 9:00 ` strepsil
2004-07-23 18:05 ` rreed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox