Author Topic: [2014-12-25] MiniCubeOS - Minified Ubuntu 14.04.1  (Read 7695 times)

Offline murderered

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
[2014-12-25] MiniCubeOS - Minified Ubuntu 14.04.1
« on: April 26, 2014, 01:46:05 pm »
Hi,

some of you would like to use a small system. Here it is!
MiniCubeOS is a very small Ubuntu 14.04 LTS. There is nearly no bloatware. Later (and especially if more people want it) i will create a repository with some software made for the cubieboard (f.e. tools, drivers).
More details on my page (download also there):
http://noorganization.org/minicubeos
If you find bugs or are interested in helping, just write it here.

have fun,
Michael
« Last Edit: December 25, 2014, 03:53:48 pm by murderered »
Sorry for my bad english.

Offline actkk2000

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +2/-11
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #1 on: April 26, 2014, 04:20:40 pm »
Thank you!  :D

Offline calhemp

  • Newbie
  • *
  • Posts: 11
  • Karma: +3/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #2 on: May 05, 2014, 06:22:59 pm »
I will try. downlaoding

I only use mu cb1 as samba server. you tried?


any thing that could be good,

is ssh enabled or static ip assigned?

thanks in advance

Offline murderered

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #3 on: May 06, 2014, 09:35:57 am »
I've not tried. But samba is contained in the package sources. It should work like at a normal pc. Same with SSH.
The first time you have to power on with HDMI-connected, you'll be asked about your network config.

The thought behind this image is that it should be as small as possible. So just install what you need.
Sorry for my bad english.

cheenu_sri

  • Guest
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #4 on: June 08, 2014, 07:38:33 am »
I had some problems with name resolution, just used an alternative in /etc/resolv.conf for now. However, I am not able to mount a SATA disk...

When I manually try to do a mod probe, this is what I get:
modprobe sw_ahci_platform
modprobe: ERROR: ../libkmod/libkmod.c:556 kmod_search_moddep() could not open moddep file '/lib/modules/3.4.79/modules.dep.bin'

I'm a noobie, so please forgive me if I haven't tried anything trivial.

Offline murderered

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #5 on: June 08, 2014, 10:55:26 am »
Hi cheenu_sri,

i can't reproduce the error exactly. I've checked now if something is wrong with the image, but it's all OK (at least with the current). You are using an old one. Please do an backup (of your image) and then as root:
Code: [Select]
apt-get install wget
wget -O /tmp/sig.asc http://mcos-repo.noorganization.org/noorg-mcos-archive.asc
apt-key add /tmp/sig.asc
echo "deb http://mcos-repo.noorganization.org/ trusty main" >> /etc/apt/sources.list
apt-get update
apt-get install linux-image-mcos
apt-get remove wget # if wget wasn't previously installed
reboot
With this you use the experimantal repository from my page and install a newer kernel (package already included in newer image). Then try again to mount your hard disk.

How did you modify your /etc/resolv.conf? Maybe it's a bug in my image that i can't reproduce (after installation networking worked instant).

good luck,
Michael
Sorry for my bad english.

Offline supermarioprof

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #6 on: June 13, 2014, 04:36:26 am »
Hi!
a little problem from a noob...
I downloaded the image, extracted and obtained a .bin file.
Then
Code: [Select]
sudo dd if=minicubeos.bin of=/dev/mmcblk0 but only a few file compare on my SD card:
boot.scr uImage.bin and 2 others I don't remember now: 4.3 MB in total.

So I think I need a different command to write the image .bin on the SD card
since the image iss more then 500 MB
but I don't know which... please help!

Offline murderered

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #7 on: June 13, 2014, 05:17:41 am »
Hi supermarioprof,

if you waited until dd was ready (you simple didn't [crtl]+[c]-ed it) everything seems to be okay.
So just boot, it should work. If it does not boot - don't panic - nothing bad happens, simply redownload (check sha1!) and reflash your card.

More information (just for explanation):
You are looking only at the /boot-partition, there should be only some files: uImage (=kernel-image), script.bin (=settings for cubieboard), boot.scr (=compiled kernel-command-line) and boot.cmd (=human readable kernel-command-line). Maybe you'll see a folder called lost+found, created by the filesystem.
If you wan't to look into  the rest of the system, just mount the second partition (maybe "/dev/mmcblk0p2").

have a nice day,
Michael
« Last Edit: June 13, 2014, 05:22:07 am by murderered »
Sorry for my bad english.

Offline supermarioprof

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #8 on: June 13, 2014, 08:39:42 am »
thanks for you quick answer!

I tried and
it doesn't work.
I checked sha1 with
Code: [Select]
sha1sum minicubeos.bin
and obtained a different number from the one on http://noorganization.org/minicubeos

I downloaded again, extracted and ...same number, same difference.
Anyhow, I tried with dd
Code: [Select]
sudo dd if=minicubeos.bin of=/dev/mmcblk0 resulting in a card with 2 partitions, one smaller, the other one not recognized by GParted.
Trying to boot...no joy, quite obviously.

What can I do?


UPDATE
should I format my SD in FAT32, maybe?
« Last Edit: June 13, 2014, 09:11:37 am by supermarioprof »

Offline murderered

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #9 on: June 13, 2014, 01:51:51 pm »
Okay,
my page is in that point not clearly written. The sha1 sum written there was made from the tar.gz-file. The sha1 of the 2014-06-08 .img-file is 4c89105a818d7c2de80848773c058ddc98f1897b. I'll change that later.
I've done the same steps you would do:
- Downloaded the image (just to verify your steps)
- untared it with a desktop tool (ark in my case)
- dd if=minicubeos.bin of=/dev/mmcblk0 # <- my cardreader in notebook is also located there
- booted
Maybe you should check your sd after writing (before booting!):
Code: [Select]
sudo dd if=/dev/mmcblk0 count=512 bs=1M | sha1sum should output sha1sum, i tested the command successfully - so it should work.
If your checksum is different, you should try another card reader and/or sd, something seems to be defect. Also currently the image is 512MiB big so you need to have luck when putting it on a 512MB sd, maybe it's to small. You should use a bigger sd - otherwise you won't be able to install much software.

Formatting sd is useless, the partition table will be overwritten when dd-ing the image.

greetings,
Michael
Sorry for my bad english.

Offline supermarioprof

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #10 on: June 19, 2014, 12:00:43 pm »
...
- Downloaded the image (just to verify your steps)
- untared it with a desktop tool (ark in my case)
- dd if=minicubeos.bin of=/dev/mmcblk0 # <- my cardreader in notebook is also located there
- booted

I did the same way (using "extract here" under Ubuntu to untar the archive).
No joy!  :'(
I don't understand, the system doesn't boot:
HDMI doesn't seem to work, I have no video output (so, maybe, it works, but I can't know!).
I used a 8GB class4 SD card, I used it before for other distro under Cubieboard.
After the above sequence I obtain 2 partitions, one not recognized, as in figure:


Should I use a class10 SD card

UPDATE:
I untared the file with
Code: [Select]
tar xvzf minicubeos.bin.tar.gz obtaining a 536.9 MB file,
while with "extract here" the file is just a 473.6 MB.
This sound really weird to me!!!

UPDATE 2:
dd-ed on SD, now SHA1 is correct!
Gparted shows this:


UPDATE 3:
ok, now it works ok!
what about
login: ? root?
« Last Edit: June 19, 2014, 12:35:08 pm by supermarioprof »

Offline murderered

  • Newbie
  • *
  • Posts: 20
  • Karma: +1/-0
    • View Profile
Re: MiniCubeOS - Minified Ubuntu 14.04
« Reply #11 on: June 20, 2014, 07:23:43 am »
login after setup is root/<passwordYouVeSetWhileSetup>, for setup no login is needed. Fine you could dd it now properly. Just boot. The second image of gparted looks right.

regards,
michael

Sorry for my bad english.