Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - qubicprograms

Pages: [1] 2 3 ... 5
1
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: May 20, 2013, 02:14:54 pm »
Well, for one you don't have the "cmdline" command in there:

kernel linux/zImage.tns
initrd linux/initrd.tns
cmdline root=/dev/ram
boot
You may also want to make sure all the files (including the bootloader) are up to date... Try deleting all the files related to Linux and installing fresh ones to the calc.

2
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 07:08:15 pm »
I think I understand the general idea of what I'm supposed to do, I just have to figure out how to do it...
As of the last time I tried it "chroot root" gave me the error: "chroot: cannot change root directory to root: Operation not permitted" but I will keep working on it, thanks for your help!

Edit:   :-\ Oops... forgot the sudo... how silly of me. Well, chroot worked.

Edit 2: Debian works, I think... I can't log in... what is the user and password I need to use?

Edit 3: Debian works all the way, now.  :w00t: Forgot you could change the password while using qemu...

3
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 12:18:28 pm »
Sorry, I tried running "qemu-binfmt-conf.sh", "qemu-binfmt-conf", and just plain "qemu"

I can't...
I tried running "update-binfmts --display" and it showed something similar to the .sh file I posted a link to.. should I use that?
Or do you mean just move on to the next set of commands?

4
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 12:14:00 pm »
I'm up to the .sh file on that, everything else before it has worked.
(Is the .sh file required, I started looking at an article on qemu on the debian wiki. The commands there look similar, but I'm not sure where the .sh file fits in...)

5
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 12:07:26 pm »
Sorry, I tried running "qemu-binfmt-conf.sh", "qemu-binfmt-conf", and just plain "qemu"
Which commands do you mean?
(Sorry if this seems like a lot of questions, but I'm new to this)

6
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 12:03:12 pm »
So I installed the packages, but I have no idea what to do with them...

7
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 11:50:52 am »
I don't have "qemu-binfmt-conf.sh"
Can you upload a copy?

Edit: or is it this http://svn.kju-app.org/trunk/qemu/qemu/qemu-binfmt-conf.sh

8
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 11:34:38 am »
Created a folder called "--foreign" containing a log file:
Code: [Select]
/usr/sbin/debootstrap: 175: [: =: unexpected operator
/usr/sbin/debootstrap: 415: /usr/sbin/debootstrap: : Permission denied

I even ran it with sudo

9
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 11:20:48 am »
Yes, someone got it to work...

Voginator, are you saying run "debootstrap squeeze --foreign --arch=armel" on a Linux desktop or the calculator? (and I assume <root> means use "sudo")

10
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 10:57:21 am »
It might not have installed. Although I used the sudo command, and I remember it saying it installed.

Booted again:
typed in "dpkg" and it said "-sh: dpkg: command not found"
but when I typed "apt-get" it said "-sh: /usr/bin/apt-get: no such file or directory" same thing happened with "apt-get --help"

Does it work with debootstrap?

What do you mean by that?

Maybe it's just not installed?
If it boots, Debian is installed correctly. Even without apt-get it is debian, only dpkg should be there.

Could there be a problem when installing over an existing file system?
Also, the first time I tried installing, Debian booted, but I had not command prompt. I got stuck at the runlevel prompt.
I did try adding a few files from the old fs, but I ran into other problems, so I didn't try to go further with that...

11
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 27, 2013, 10:05:14 am »
I tried using multistrap to install Debian on the calculation, but it's not working properly.
I first installed it onto a blank flash drive, but when I booted it said something about runlevel, I entered "1", and it said something about no more processes to run.
I then reformatted the disk and put the original filesystem back in, and then ran multistrap with the disk as the destination. When I booted again it ran fine, but there was no Debian (as in I tried apt-get and it gave an error about the command not existing).
Is there something I'm missing?

My multistrap config, there is one change from the original, it was giving me a 404 error:
Code: [Select]
# Example multistrap configuration file for the lenny shortcut.

[General]
arch=
directory=
# same as --tidy-up option if set to true
cleanup=true
# same as --no-auth option if set to true
# keyring packages listed in each debootstrap will
# still be installed.
noauth=false
# whether to add the /suite to be explicit about where apt
# needs to look for packages. Default is false.
explicitsuite=false
# extract all downloaded archives (default is true)
unpack=true
# the order of sections is not important.
# the debootstrap option determines which repository
# is used to calculate the list of Priority: required packages.
debootstrap=Emdebian Updates
aptsources=Emdebian Updates

[Emdebian]
packages=apt
source=http://www.emdebian.org/grip
keyring=emdebian-archive-keyring
suite=stable

[Updates]
packages=
source=http://www.emdebian.org/grip
keyring=emdebian-archive-keyring
suite=stable-proposed-updates

12
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 08, 2013, 06:38:12 pm »
So like root=/dev/ram rootdelay=10?

Yes that is correct

Oh and, uh, what exactly are my functions dong, in a newb language?

What do you mean by functions, is this in the bootloader or the OS?

Yeah it just keeps hanging...

Try plugging in the USB before starting the bootloader, unplug it after you see the word "boot" in the bootloader (or the bootloader disappears...) and then plug it back in after Linux says something like "waiting 10 seconds..." See if it says anything about "[sda]"

13
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: April 07, 2013, 05:47:36 pm »
"rootdelay=10" should go after "root=/dev/ram" on the same line, it's part of the command line property, which is why it isn't recognized by the bootloader.

14
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: March 16, 2013, 11:39:58 am »
I couldn't login.. My password contains umlauts.

I assume there is no character map available in the default distribution...
That might be something Debian could be useful for. (don't know much about the available packages, though...)

15
TI-Nspire / Re: Calling all Linux Kernel developers!
« on: March 15, 2013, 05:52:38 pm »
Hi, if this ends up posting, that will be pretty exciting. Has anyone ever posted on this topic from the nspire? Thanks for your help, Vogtinator, that worked.

P.S. This post is from the nspire!! :)
(reading the forum is kind of difficult, though...)

Pages: [1] 2 3 ... 5