On 08/07/2014 06:21 PM, Robert Moskowitz wrote:
So with some care, I have a card booted into Redsleeve, but access only
from the console.

Monitor is showing some startup messages, but no login prompt. Mouse is
active and input works, but nothing seems to be listening.

Network is up, but not sshd:

# service sshd status
sshd: unrecognized service

yum install openssh-server

I did do those ln commands:

ln -s /run/media/rgm/rootfs/etc/init.d/sshd
/run/media/rgm/rootfs/etc/rc3.d/S55sshd
ln -s /run/media/rgm/rootfs/etc/init.d/sshd
/run/media/rgm/rootfs/etc/rc5.d/S55sshd

but no sshd.

Probably not installed in the minimal rootfs. See above.

The uboot partition is not mounted (your comment about Chromebook using
a uboot is not supprising as I have been told it also uses the Allwinner
A20 soc and thus SunXi).

Samsung Chromebook uses the Samsung Exynos SoC, not the Allwinner. uboot partition is not mountable, this is normal.

and the label I gave the rootfs partition does not seem to be recognized:

# df -h
Filesystem Size Used Avail Use% Mounted on
UUID=33de6a91-2289-4ec7-9703-2b03a9d51725
13G 1.8G 11G 15% /
tmpfs 494M 152K 493M 1% /dev/shm

You will need to disect the uboot image and work out what it is picking the rootfs by. Since you are getting a bootable system, whatever it is using seems to be working.

I need a good way to create the partitions on the card that line up
properly on 'cylinder boundaries':

# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 15.6 GB, 15560867840 bytes
4 heads, 16 sectors/track, 474880 cylinders
Units = cylinders of 64 * 512 = 32768 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cd80a

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 33 16416 524288 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/mmcblk0p2 16417 49184 1048576 82 Linux swap / Solaris
Partition 2 does not end on cylinder boundary.
/dev/mmcblk0p3 49185 465184 13312000 83 Linux
Partition 3 does not end on cylinder boundary.

I used gparted on my F20 notebook. I need some 'nice' command lines to
lay down the partitions and format them. No experience on this, pointers
to some cookbook instructions would be appreciated.

Chromebook instructions:
http://wiki.redsleeve.org/index.php/Chromebook

My preference is for gdisk, mainly because of 20 years experience with fdisk, and gdisk is very similar, whereas parted is both fundamentally different and lacking some of the functionality.

Attached is the firstboot console capture:
[...]
Remounting root filesystem in read-write mode: [ OK ]
Mounting local filesystems: mount: special device
UUID=2cb94397-dc57-4276-bd81-0f30170f8cc1 does not exist
[FAILED]

Check your fstab and make sure the UUID specified there matches the one on the relevant file system this is referring to.

Red Sleeve Enterprise Linux release 6.1 (Leap)
Kernel 3.4.61.sun7i+ on an armv7l

redsleeve login: root
Password:

Looks good! :)

Gordan

_______________________________________________
users mailing list
[email protected]
http://lists.redsleeve.org/mailman/listinfo/users

Reply via email to