Jump to content


Photo

Arch Linux On The Pandora


  • Please log in to reply
93 replies to this topic

#31 WizardStan

WizardStan

    Mega GP Mania

  • X-treme Team
  • 6092 posts
  • Gender:Male

Posted 31 March 2011 - 02:58 AM

It's a wiki. Just sign up and edit it yourself.

edit: and I mean that in an entirely serious and helpful way, not sarcastic. No need to wait on others, just dive right on in :)

Edited by WizardStan, 31 March 2011 - 02:59 AM.


#32 Custom Processing Unlimite

Custom Processing Unlimite

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 718 posts
  • Gender:Male
  • Location:Milwaukee, WI, USA
  • Interests:Martial arts and computers

Posted 31 March 2011 - 03:13 AM

no, it's cool... I get that a lot, but not every wiki is the same, so I usually don't just jump in... so I don't screw something up. :P

#33 Cloudef

Cloudef

    GP32 User

  • Members
  • PipPipPip
  • 48 posts
  • Gender:Male
  • Location:Gensokyo

Posted 06 April 2011 - 07:53 PM

This is awesome, now If I just had a pandora.

#34 Custom Processing Unlimite

Custom Processing Unlimite

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 718 posts
  • Gender:Male
  • Location:Milwaukee, WI, USA
  • Interests:Martial arts and computers

Posted 07 April 2011 - 07:06 AM

rummaging around for a spare SD card to test this out on... how small of an SD is ok for that?

#35 IsSuE

IsSuE

    GP32 User

  • Members
  • PipPipPip
  • 87 posts
  • Gender:Male
  • Location:Upper Austria

Posted 07 April 2011 - 07:19 AM

I tried it on a 1Gb, but you are not having fun with that! Installed a couple of things and the SD was full. Go at least for 4 imho

#36 Custom Processing Unlimite

Custom Processing Unlimite

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 718 posts
  • Gender:Male
  • Location:Milwaukee, WI, USA
  • Interests:Martial arts and computers

Posted 07 April 2011 - 07:35 AM

need to get my hands on a 32GB... will definitely do so next paycheck... I might just hold out a little longer and wait till I get enough to get my hands on a 64GB SDXC.... then have all the fun I want! :P

#37 kaprikawn

kaprikawn

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 118 posts

Posted 09 April 2011 - 05:24 PM

Can someone tell me how to extract the .tar.xz file please, Google isn't turning up much. I've tried it using the default package on Ubuntu and I get a bunch of 'cannot mknod' errors.

If I've got the .tar.xz file in the root directory of the SD card I intend to extract to, what's the command to extract in Terminal on the Pandora?

Cheers

#38 Tempel

Tempel

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 416 posts
  • Gender:Male
  • Interests:You, you wonderful person.

Posted 09 April 2011 - 08:30 PM

The terminal command to extract is:
tar xJvf filename.tar.xz
Do this from within the SD card's directory to extract there.

I can think of two potential causes of the mknod issue. See, it's trying to extract block devices to the SD card, since these are an important part of any Linux root filesystem, but creating them is restricted. It could be restricted to the root user only; try running that command I gave earlier with "sudo" in front of it. It could also be restricted by the rules used when mounting your SD card; try remounting with the "dev" option enabled. The command should look something like this:
sudo mount -o remount,dev /media/mmcblk0p1
Make sure to replace "/media/mmcblk0p1" with the actual path to your SD card. Then, run the extraction command again, with sudo if you need to.

I hope that helps, but let us know if it doesn't.

Edited by Tempel, 09 April 2011 - 08:31 PM.


#39 Letalis Sonus

Letalis Sonus

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 100 posts

Posted 10 April 2011 - 12:48 AM

Maybe the rootfs tarballs should be generated using tar's --one-file-system option, so that it isn't trashed with temporary files or device nodes causing trouble while extracting. All device nodes should be generated dynamically within a virtual file system and therefore don't need to be saved.

#40 wejp

wejp

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male

Posted 12 April 2011 - 10:15 AM

The terminal command to extract is:

tar xJvf filename.tar.xz
Do this from within the SD card's directory to extract there.

Actually, you do not need to specify the compression mehtod at all with almost all tar versions currently in use. So all you need to do is "tar xfv archive", where archive can be uncompressed tar, .tar.gz, .tar.bz2 or .tar.xz .

I can think of two potential causes of the mknod issue. See, it's trying to extract block devices to the SD card, since these are an important part of any Linux root filesystem, but creating them is restricted. It could be restricted to the root user only; try running that command I gave earlier with "sudo" in front of it. It could also be restricted by the rules used when mounting your SD card; try remounting with the "dev" option enabled. The command should look something like this:

sudo mount -o remount,dev /media/mmcblk0p1
Make sure to replace "/media/mmcblk0p1" with the actual path to your SD card. Then, run the extraction command again, with sudo if you need to.

Mounting with the dev option should not be necessary, but should not do any harm either.

Maybe the rootfs tarballs should be generated using tar's --one-file-system option, so that it isn't trashed with temporary files or device nodes causing trouble while extracting. All device nodes should be generated dynamically within a virtual file system and therefore don't need to be saved.

I'll keep that option in mind or the next version. This might save some bytes, but even then the archive should still be extracted with the root user. If anyone has trouble extracting the archive as it is now, you are doing something wrong - either you aren't extracting as root or the filesystem on the target device is incompatible, e.g. fat instead of ext2. As said in my blog, the filesystem should be ext2 and nothing else (yes, this includes ext3 as well - do not use it).

#41 Custom Processing Unlimite

Custom Processing Unlimite

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 718 posts
  • Gender:Male
  • Location:Milwaukee, WI, USA
  • Interests:Martial arts and computers

Posted 28 April 2011 - 12:05 AM

mine wouldn't boot... maybe I did something wrong... but I will find out tonight...

#42 wejp

wejp

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male

Posted 03 May 2011 - 01:17 PM

I have tracked down the kernel bug causing the keyboard problems, which you have probably all noticed.

You'll find some more information and a package with the new kernel on my blog: Kernel update

#43 Custom Processing Unlimite

Custom Processing Unlimite

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 718 posts
  • Gender:Male
  • Location:Milwaukee, WI, USA
  • Interests:Martial arts and computers

Posted 03 May 2011 - 11:50 PM

so does that mean we officially (inadvertantly) have a kernel package now? :P

#44 wejp

wejp

    GP32 Hardcore

  • Members
  • PipPipPipPip
  • 196 posts
  • Gender:Male

Posted 04 May 2011 - 06:29 AM

so does that mean we officially (inadvertantly) have a kernel package now? :P

Yes, indeed. :)

#45 mcobit

mcobit

    Mega GP Mania

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 841 posts

Posted 04 May 2011 - 07:09 AM

NOTE: this project should be added to the wiki... not sure who to contact about that...

http://pandorawiki.o...ftware_projects

was it gruso?


Just add it yourself!