Active Topics

 


Reply
Thread Tools
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#11
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.
 
Posts: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#12
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.
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#13
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...
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#14
Originally Posted by extendedping View Post
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...
Yes.

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.)
__________________
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: 52 | Thanked: 17 times | Joined on Jun 2010 @ United Kingdom....for now.
#15
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]
name=Fedora $releasever - $basearch
#mirrorlist=http://mirrorlist.fedora-arm.wantstofly.org/?repo=fedora-$releasever&arch=$basearch
baseurl=ftp://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/12/Everything/arm/os/Packages/
enabled=1
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://download.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
#mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-primary

[fedora-arm-source]
name=Fedora ARM $releasever - Source
mirrorlist=http://mirrorlist.fedora-arm.wantstofly.org/?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
And the same goes for your fedora-updates.repo

Code:
[updates]
name=Fedora $releasever - $basearch - Updates
#mirrorlist=http://mirrorlist.fedora-arm.wantstofly.org/?repo=updates-released-f$releasever&arch=$basearch
baseurl=ftp://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/updates/12/arm/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

[updates-arm-source]
name=Fedora ARM $releasever - Updates Source
mirrorlist=http://mirrorlist.fedora-arm.wantstofly.org/?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
This should provide you with a working yum, after you rebuild the database.
 
Posts: 838 | Thanked: 292 times | Joined on Apr 2010
#16
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.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#17
Originally Posted by extendedping View Post
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.
You cant use /home/user/MyDocs

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.
__________________
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
#18
ok it's sd card time...thanks
 
Magik's Avatar
Posts: 271 | Thanked: 65 times | Joined on May 2010 @ Poland, Białystok
#19
anyone else want "easy fedora"
Me, me
RPM's aren't my thing, but why the hell not I love to have many options.
 
kingoddball's Avatar
Posts: 1,187 | Thanked: 816 times | Joined on Apr 2010 @ Australia
#20
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 
dd if=/dev/zero of=/home/user/MyDocs/fedora-image bs=1024 count=2097152

Create filesystem on image file 
mkfs.ext3 /home/user/MyDocs/fedora-image

Create mount point and loopback mount the image 
export FEDORA_ROOT="/mnt/fedora_root"
mkdir $FEDORA_ROOT
mount -o loop /home/user/MyDocs/fedora-image $FEDORA_ROOT
Code:
apt-get install tar-gnu

gtar -tzf <fedora-image>

gtar -xzf <fedora-image> -C $FEDORA_ROOT

umount $FEDORA_ROOT
None of the above may actually work. It's just an idea, Qole would be the best for this....

But!! I want to help! FEDORA!
__________________
The thanks button? Sure! You can press it! I would!

Last edited by kingoddball; 2010-08-13 at 07:06.
 

The Following 2 Users Say Thank You to kingoddball For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:17.