Reply
Thread Tools
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#41
I am out of town with horrible internet.. I will try fedora this weekend and report back.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#42
thanks much...would be great to get this going.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#43
So this is what I did..

Code:
mkdir /home/user/fedora && cd /home/user/fedora/ #temp to hold tar file
wget http://ftp.linux.org.uk/pub/linux/arm/fedora/rootfs/rootfs-f12.tar.bz2
cd /media/mmc1 # Destination area, ext3 formatted
bzcat /home/user/fedora/rootfs-f12.tar.bz2 | tar -xv
mount --bind /dev /media/mmc1/dev # bind the devices area because yum requires urandom.
chroot /media/mmc1
cd /var/lib/rpm
rm -f __db*
rpm --rebuilddb
yum update
Worked fine.

Note: Everything above after a # indicates a comment, not necessary in the command.

My partition scheme is different than standard. I have repartitioned my 28GB or so space into /home, with only 2GB in /home/user/MyDocs as FAT. So, for most N900's, you'll want to download the tar file either directly to your /media/mmc1 or to /home/user/MyDocs which is what Jebba's suggests at his page.

/media/mmc1 is mounted to wherever you want your Fedora Rootfs to be. You can put this on any EXT3 formatted area.. just untar the tar.bz2 to it and change the mount --bind /dev/ to point to the dev/ directory under your fedora root point.

This gets you a barebones, totally basic, chrootable Fedora. Recommended is to look through Qole's easy debian chroot scripts which mount many other useful (and in some cases necessary) directories other than just /dev for an even more usable chroot environment.

Either way.. the rootfs work fine after you remove the __db* from /var/lib/rpm (not /var/lib as was suggested earlier) and mount the /dev of your Maemo over the $ROOTFS/dev directory.

ETA: Also note.. I used all standard commands in Maemo above. No qchroot or qmount, or gtar... etc. I installed bzip2 and wget from the repositories and just used standard chrooting.

You guys may be trying to leap before you can crawl here. Start from the basics and work your way up to Easy Debian-esque. Some of the stuff in qchroot or whatnot be unnecessary here. I haven't looked through qole's scripts in a long time to remember everything he does in there but it could be some paths are different in Fedora to Debian or some mount-points unneeded, or PATH variables to different locations, or whatever, that are/could be causing you some headaches.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!

Last edited by fatalsaint; 2010-08-20 at 03:51.
 

The Following User Says Thank You to fatalsaint For This Useful Post:
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#44
With barebones you mean command line only?
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#45
Originally Posted by gsever View Post
With barebones you mean command line only?
Mostly.

A quick scan through this default rootfs shows nothing X-related really.. so I went to install firefox and it wanted to get 84+ packages. Too lazy right now.

Chances are, from previous experience, it'll probably launch X apps but it will most likely look funny and not be very "integrated" into the Maemo environment.

That is mostly, I believe, what the "Easy" Debian is all about. Chroot is just chroot and works fine.. but integrating it into the host environment takes a little more work.

extendedping, I believe, was just trying to get a basic fedora command line going first. This does it.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#46
He should have kept insisting on a Fedora + Gnome 3 beta . I might test your instructions on this weekend.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#47
Originally Posted by gsever View Post
He should have kept insisting on a Fedora + Gnome 3 beta . I might test your instructions on this weekend.
I imagine Gnome 3 Beta through chroot would be extremely slow . You would probably have better luck with a booted Fedora at that point...
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#48
I know it would be snail slow; just keeping the expectations higher. You might never know what you be getting in the end
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#49
Originally Posted by gsever View Post
I know it would be snail slow; just keeping the expectations higher. You might never know what you be getting in the end
Fedora + XFCE or LXDE should be very workable. That's back to Easy Debian-esque territory.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#50
dumb *** (me) was doing rm -f _db (one underscore) not rm -f __db*.

well I will read your writeup tonight fatalsaint (and much thanks), I was able to run rpm --rebuilddb now but yum update still failed. I suppose once I can dig into your instructions it will work. again much thanks.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:35.