Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    anyone else want "easy fedora"

    Reply
    Page 5 of 8 | Prev |   3     4   5   6     7   | Next | Last
    fatalsaint | # 41 | 2010-08-18, 17:58 | Report

    I am out of town with horrible internet.. I will try fedora this weekend and report back.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    extendedping | # 42 | 2010-08-19, 15:31 | Report

    thanks much...would be great to get this going.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fatalsaint | # 43 | 2010-08-20, 03:36 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by fatalsaint; 2010-08-20 at 03:51.
    The Following User Says Thank You to fatalsaint For This Useful Post:
    gsever

     
    gsever | # 44 | 2010-08-20, 03:53 | Report

    With barebones you mean command line only?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fatalsaint | # 45 | 2010-08-20, 04:04 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gsever | # 46 | 2010-08-20, 04:12 | Report

    He should have kept insisting on a Fedora + Gnome 3 beta . I might test your instructions on this weekend.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fatalsaint | # 47 | 2010-08-20, 04:27 | Report

    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...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    gsever | # 48 | 2010-08-20, 04:29 | Report

    I know it would be snail slow; just keeping the expectations higher. You might never know what you be getting in the end

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fatalsaint | # 49 | 2010-08-20, 04:38 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    extendedping | # 50 | 2010-08-20, 19:09 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 5 of 8 | Prev |   3     4   5   6     7   | Next | Last
vBulletin® Version 3.8.8
Normal Logout