Author Topic: nspire Linux Questions  (Read 153220 times)

0 Members and 9 Guests are viewing this topic.

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #390 on: April 11, 2013, 09:04:47 am »
initrd.tns is just a symlink to busyboxconfig-latest.ext2.bz2 :D
Quote
I mean, why is it a .tar.gz and not a .tns like initrd ? It would fit in a CX, wouldn't it ?
Nope, the CX has 64MB of RAM, the kernel needs at least 10.
Than you have to load the image into ram, decompress it into ram.
The compressed image occupies already 29 MB, so it won't fit at all.

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #391 on: April 11, 2013, 09:10:42 am »
what file format do i have to use? ext4/3 ?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #392 on: April 11, 2013, 09:12:16 am »
For what?

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #393 on: April 11, 2013, 09:14:11 am »
for the usb drive to put the rootfs.tar.bz2 file on.
« Last Edit: April 11, 2013, 09:16:02 am by floris497 »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #394 on: April 11, 2013, 09:17:20 am »
On your usb drive?
You can use every ext version.

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #395 on: April 11, 2013, 09:17:56 am »
hm i cant get it to work.. it won't mount

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #396 on: April 11, 2013, 09:19:04 am »
Then you did something wrong.
If you post your steps and the error message, I can help you better ;-)

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #397 on: April 11, 2013, 09:37:10 am »
I used "sudo tar -xvf  /home/parallels/Desktop/rootfs.tar.bz2 -C /media/rootFS" to put the files on the disk.

bootscript:
kernel linux/zImageX.tns
initrd linux/initrd.tns
cmdline root=/dev/sda
boot

how can i list all storage devices?

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #398 on: April 11, 2013, 09:43:00 am »
Boot normal with initrd and execute "cat /proc/partitions"

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #399 on: April 11, 2013, 09:53:19 am »
this is what i get on the screen

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #400 on: April 11, 2013, 09:54:46 am »
So your drive is connected and detected correcly. Can you do "mount /dev/sda /mnt"?

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #401 on: April 11, 2013, 09:59:05 am »
hm, worked one time.. next time no such device or address

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: nspire Linux Questions
« Reply #402 on: April 11, 2013, 10:00:10 am »
If it works and the files appear in /mnt it should boot fine, too.

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #403 on: April 11, 2013, 10:01:31 am »
hm, i will try that

Offline floris497

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 210
  • Rating: +8/-0
    • View Profile
Re: nspire Linux Questions
« Reply #404 on: April 11, 2013, 10:06:05 am »
EXT4-fs (sda): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (sda): couldn't mount as ext2 due to feature incompatibilities
EXT4-fs (sda): recovery complete
EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)

files are listed in /mnt
« Last Edit: April 11, 2013, 10:07:05 am by floris497 »