![]() |
anyone else want "easy fedora"
I do really like easy debian and wish there was a similar easy fedora. seems to me there are enough differences between debian and a redhat style systems to actually warrent learning both seperately (rpm based, different locations for many files etc).
I am pretty much a noob and it took me 2 days to get arm based fedora running in chroot. even then yum/rpm did not work and upon unmounting the chroot a df was populated by tons of missing file or directory output till I rebooted. anyway thanks for listening. and please don't think I am not loving easy debian. It's just as I said that working on that is making me forget the little fedora (actually centos) that I have learned. |
Re: anyone else want "easy fedora"
wow no thoughts whatsoever. but bye bye nokia has 165 posts (mostly from people whining about how whiners should not take up their important time).
I guess perhaps talent (of which I certainly am not a part) really is leaving in droves. |
Re: anyone else want "easy fedora"
Now now.. don't get all sensitive here ;).
http://talk.maemo.org/showthread.php?t=38987 http://wiki.maemo.org/User:Jebba/Fedora |
Re: anyone else want "easy fedora"
Nope not me. Easy Debian is great! We can't run a heavy gui anyhow... Lag's and get too slow.
|
Re: anyone else want "easy fedora"
XFCE runs very well on Fedora with no lag.
|
Re: anyone else want "easy fedora"
I read those threads, unless I did not get something, they were mostly about a dual boot. but to hack a good working fedora chroot I did not find much. like I said I did get it working but with no yum/rpm and tons of missing file/folder messages after an umount (I had to mount with qumount but unmount with umount) it did not really seem functinal to me. oh well easy debian is great I'll try not to be greedy and be happy without a fedora counterpart. sigh..
|
Re: anyone else want "easy fedora"
Quote:
The broken yum/rpm thing sounds like something went wrong in the building of your Fedora root package, regardless of dual boot or chroot.. As far as Chroot vs Dual Boot there isn't much of a difference. You can follow the steps in the Dual Boot.. get a full Fedora Root onto your SD card partition or even inside an image file.. whatever you want.. then you simple "chroot" into it from a terminal in Maemo. Now, if you want the integration and such from qole's easy debian scripts.. thats still doable.. with likely minimal changes to his scripts. Did you download the rootfs from Jebba? http://wiki.maemo.org/User:Jebba/Fedora#rootfs That's seriously all you should need. Download the rootfs, untar it to a partition.. don't mess with bootmenus or kernels as you dont need them in a chroot. The freemoe-fedora-install on Jebba's pretty much shows you everything you need to do. It even has the chroot command in the end of it. |
Re: anyone else want "easy fedora"
thanks I will try again tonight. I am pretty sure that was the image I took. when I do it this time I will document in detail each step of what I do and post it here for feedback if that is ok...
|
Re: anyone else want "easy fedora"
Quote:
|
Re: anyone else want "easy fedora"
Follow Jebba's guide up to where you extrat the rootfs. the chroot into it. to get yum working, you need to rebuild the rpm database.
Do this by: Code:
cd /var/lib Code:
yum update --skip-broken |
Re: anyone else want "easy fedora"
thanks all I dont even care about x or desktop, I just want a redhat style server on my phone...btw I did try the command to rebuild rpm and it did not work...again, I will take it from the top documenting my steps.
|
Re: anyone else want "easy fedora"
I had issues with yum, I also had to change my repos.
you need to edit your fedora.repo and fedora-updates.repo to use different repositories. the standard ones were dead for me. Im on the train now but will post them when I get home. |
Re: anyone else want "easy fedora"
see if everyone chips in there 2 cents...perhaps the knowledge could be turned into easy fedora?!?!?
btw if I buy an sd card then can I setup fedora as a dual boot and still retain the option of chrooting into it from maemo? if so I will go out today and buy an 8gb sd card... |
Re: anyone else want "easy fedora"
Quote:
Chroot will work from a bootable rootfs. Booting does not necessarily work from a chroot-specific image though. (case in point: easy-debians rootfs is not a complete rootfs of debian, just what you need to get a stable chroot, so booting wouldn't work. OTOH: Mer, and other full bootable debians, were a full rootfs that you could boot too, and also chroot into if you wanted.) |
Re: anyone else want "easy fedora"
Edit your fedora.repo to look like this
You may as well delete the file and remake it it and just copy this into it. Code:
[fedora] Code:
[updates] |
Re: anyone else want "easy fedora"
ok stage one: downloaded via jebber link
extracted into /home/user/MyDocs/Fedora. got lots of "cannot change file to uid gid 0" (or something to that effect) which cannot be good during the 1 1/2 hour extract. did a simple /usr/sbin/chroot and told not permitted. Will now start reading jebber info. |
Re: anyone else want "easy fedora"
Quote:
That's a FAT formatted filesystem (Unless you've changed it yourself) and doesn't support several of the necessary modes (executables, permissions) and file-types (soft links) required by a rootfs. You need to extract that to an ext3 formatted area somewhere. |
Re: anyone else want "easy fedora"
ok it's sd card time...thanks
|
Re: anyone else want "easy fedora"
Quote:
RPM's aren't my thing, but why the hell not :) I love to have many options. |
Re: anyone else want "easy fedora"
Ok.. Maybe I am now up for this idea... Ignore my first post!
LETS DO IT! Has anyone created a 2GB ext3 loop back? (Taken and adapted from Meego) Creating a loopback image from a tarball Code:
Create 2GB image file Code:
apt-get install tar-gnu But!! I want to help! FEDORA! |
Re: anyone else want "easy fedora"
Quote:
chroot fedora remember to use gnu tools (ie gtar and gdd) not the busybox stuff get bzip image make a final destination folder (I made /.fedora) make a loopable 2gb ext2 image file to do this do (in /home/user/MyDocs) * gdd if=/dev/zero of=/home/user/MyDocs/fedora.img bs=1024 count=2097152 * mkfs.ext2 /home/user/MyDocs/fedora.img now you have an empty 2G loopable ext2 file called fedora.img mount the file (I made a directory called /mnt/fedmount). remember the process is mount the file as a loop device and copy the contents of the downloaded fedora file system directory to this. once unmounted you will have transferred the root file system to the /home/user/MyDocs/fedora.img file from the downloaded file using the /mnt/fedmount (or whatever) as your middleman. * qmount /home/user/MyDocs/fedora.img /mnt/fedmount ----- please note this is qmount not mount * cp /home/user/MyDocs/rootfs-f12.tar.bz2 /mnt/fedmount * cd /mnt/fedmount * gtar -xjf rootfs-f12.tar.bz2 now you cd into rootfs-f12 and copy everything there (cp -ar * ../) up one directory, then rm -rf both rootfs-f12 and rootfs-f12.tar.bz2 (you need to get rid of the tar file and the top level dir holding the file system). * umount /mnt/fedmount (please not this is regular umount now qumount * qchroot /home/user/MyDocs/fedora.img /.fedora then you are chrooted in. umount (or was it qumount?) leaves things hanging in df... (ie looking for mountpoints that are not there and the only way to clear the output is to reboot phone). |
Re: anyone else want "easy fedora"
obviously I am too noob for now and still need help. ok I took a 4gb sd card out of my old phone. I plug n900 into the pc (ubuntu). I see the 4gb partition as /dev/sdc1. I do fdisk /dev/sdc1 and create 3 partitions. 1 (cause jebber says put fat to shut up maemo) is type fat32 type c 100m . 2 is linux type 83 3gb. 3 is type swap apx 1gb.
root@ubnuntu:~# fdisk /dev/sdc1 WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): p Disk /dev/sdc1: 3959 MB, 3959456256 bytes 4 heads, 16 sectors/track, 120833 cylinders Units = cylinders of 64 * 512 = 32768 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x69737369 Device Boot Start End Blocks Id System /dev/sdc1p1 1 3201 102424 c W95 FAT32 (LBA) /dev/sdc1p2 3202 101506 3145760 83 Linux /dev/sdc1p3 101507 120833 618464 82 Linux swap / Solaris Command (m for help): next (this confuses me) I do a regular fdisk -l and I think I will see all those partitions but I just see the sdc1 listed as such. Disk /dev/sdc: 3965 MB, 3965190144 bytes 128 heads, 63 sectors/track, 960 cylinders Units = cylinders of 8064 * 512 = 4128768 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 * 1 959 3866656+ b W95 FAT32 Partition 1 has different physical/logical endings: phys=(959, 127, 63) logical=(958, 127, 63) so at this point, before I get to copying the or untarring the fedora file system....I am confused. shouldn't fdisk -l show me 3 partitions now? one fat one ext3 and one swap? I have tried to make a file system on /dev/sdc1p2 but it says "device does not exist". |
Re: anyone else want "easy fedora"
Nono.. you did that wrong.
Using fdisk you don't pass it a partition.. you pass it a device. Code:
fdisk /dev/sdc Code:
fdisk /dev/sdc1 Anyway. Do it the first way above. |
Re: anyone else want "easy fedora"
Sorry for not chipping in earlier on this.
I haven't been around a whole lot the past few weeks. I have tried the Fedora 12 chroot but I couldn't see any advantages over Debian. They have compiled far fewer packages and there doesn't seem to be anything in Fedora that isn't also available for Debian. So I've never offered an Easy Fedora package, even though it wouldn't be very hard to make. If you make a Fedora image file like in kingoddball's instructions, you can just point your Easy Debian to the image file (change the IMGFILE= line in your /home/user/.chroot) and then use Easy Debian to access Fedora. You can even copy some of the N900 specific stuff from the Debian image to your Fedora image and get it doing all the same stuff... (EDIT: Yes, you can also put Fedora in a partition on your SD card and use it with Easy Debian) But honestly, other than a preference for Red Hat, what is the advantage of running Fedora instead of Debian? |
Re: anyone else want "easy fedora"
Quote:
Having an RPM based Distro to play with as well as a Deb-based system allows you to keep up on the quirks that are different between Red Hat and.... the rest of the planet. :D |
Re: anyone else want "easy fedora"
exactly. for instance I am not saying redhat/centos/fedora is better. Actually it may be worse. but like it or not if I want to study say networking services for a job interview, there is like a 99% chance the will ask me about redhat style quirks not debian style quirks. For example I have a book called "pro linux system administration" I am reading. each chapter details both the debian/ubuntu way of doing things and the redhat/fedora way. take apache for example. the way things are layed out and enabled are totally different between the two.
I personally love the stuff easy debian makes possible like iceweasel etc and dont need that dujplicated. I just would love to have the ability to work with core linux services with a foot in both major camps...the debian and the redhat. thanks for listening. off to repartition my sd card thanks fatalsaint. |
Re: anyone else want "easy fedora"
well thanks guys I am into crippled fedora
quole get on you white horse please :) |
Re: anyone else want "easy fedora"
Why not take another route... Easy Ubuntu - Using MuhammadAG's build?
Qole: are you able to install two instances of easy debian? i dont want to mess with easy debian, flawless how it is. if we can make another start program or install a second easy debian, we could get both running :D |
Re: anyone else want "easy fedora"
yeah, you can even have multiple chroots open simultaneously. I currently am working on a Meego chroot and using Easy Debian to do it.
If you want a second system (Ubuntu, Fedora, Meego) open at the same time as Easy Debian, use a command line like this one to chroot into Meego Handset: Code:
sudo qchroot /home/user/MyDocs/meego-handset.img.ext3 /.meego su user |
Re: anyone else want "easy fedora"
why open ubuntu when it is based off deban?
|
Re: anyone else want "easy fedora"
Qole: Will you add the "Easy Meego" you're making up on your repo, so we can all download it? :D I would love to be the first!
i would love to try out some new OS's Easy Debian style!! :D Edit: I'm going to TRY and build an "easy" Fedora tonight. I just don't really know anything more than the loopback part :( But I'll give it a shot. Most likely another failure, but using Qole's help and advice above, I'm sure we could get one running! Edit Again: No Go. Could not get it going correctly. I guess we will wait, or just enough Easy Debian! (Although!! Qole: "Easy" Meego would be great!!!! :D Hint Hint, Buddy! MATE! PAL!) |
Re: anyone else want "easy fedora"
if I recall correctly there is a linux distro called "easy peasy". why not make an easy easy peasy just for the heck of it.
seriously though, the more I read about redhat/centos/fedora vs debian the more I am convinced one needs to know both, and that the differences are great enough that an easy fedora would really be a great thing. |
Re: anyone else want "easy fedora"
Quote:
EDIT (albeit coming too late): Happy birthday, qole! |
Re: anyone else want "easy fedora"
so I really hope it could be done. in that case I could leave easy debian as the os I dont break (I am trying to learn perl on it) and use fedora as my learn stuff dont care if I have to reinstall os. I have beeen looking at a netbook to dig into fedora but if we had easy fedora could do it all from my phone. hpoe the answer is yes. heck it may even run calibre which easy debian cannot. sorry typing on kindle.
|
Re: anyone else want "easy fedora"
Quote:
Nokia-N900:/var/lib/rpm# rpm --rebuilddb error: cannot open Packages index using db3 - No such file or directory (2) I copied the stuff to make new yum repos as per your later post but I am pretty sure that can't work till I can get past this initial stage. I'm a bout ready to just give up and use the easy debian as it is flawless. :( |
Re: anyone else want "easy fedora"
worthless unless I can get yum going
any suggestions? |
Re: anyone else want "easy fedora"
ok I can take a hint, I did try to get fedora working but following the instructions given to me I could not get rmp/yum working. I will start shopping for a netbook for this, but I'd just like to know for certain first that easy fedora will not be created for the n900...
|
Re: anyone else want "easy fedora"
Up to the irons!!!
One more vote for Easy Fedora on Maemo 5. |
Re: anyone else want "easy fedora"
see there are like 4 of us now who want easy fedora. Given 4 users is apx 1/3 of the overall user base, I have a feeling we may get it after all...:)
|
Re: anyone else want "easy fedora"
So far only fully working OS is Easy Debian, ehh? Any idea about the status of other Easy OS'es?
Hehe 1/3 of all :D |
All times are GMT. The time now is 12:23. |
vBulletin® Version 3.8.8