Monday, January 2, 2012

Fedora 14 ARM on Pandaboard, part 3

Now that you have a Pandaboard booting Fedora 14 ARM, there are still some cleanup tasks to do.

Set the system time and install the ntp daemon.

# date 123017102011                                         
Fri Dec 30 17:10:00 EST 2011                                                   
# yum install ntp ntpdate
Loaded plugins: presto
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ntp.armv5tel 0:4.2.6p2-7.fc14 set to be installed
---> Package ntpdate.armv5tel 0:4.2.6p2-7.fc14 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch             Version                  Repository      Size
================================================================================
Installing:
 ntp             armv5tel         4.2.6p2-7.fc14           fedora         573 k
 ntpdate         armv5tel         4.2.6p2-7.fc14           fedora          73 k

Transaction Summary
================================================================================
Install       2 Package(s)

Total download size: 645 k
Installed size: 1.7 M
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 645 k
(1/2): ntp-4.2.6p2-7.fc14.armv5tel.rpm                   | 573 kB     00:18   
(2/2): ntpdate-4.2.6p2-7.fc14.armv5tel.rpm               |  73 kB     00:01   
--------------------------------------------------------------------------------
Total                                            30 kB/s | 645 kB     00:21   
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
  Installing     : ntpdate-4.2.6p2-7.fc14.armv5tel                          1/2
  Installing     : ntp-4.2.6p2-7.fc14.armv5tel                              2/2

Installed:
  ntp.armv5tel 0:4.2.6p2-7.fc14        ntpdate.armv5tel 0:4.2.6p2-7.fc14     

Complete!
#
Turn on ntpd and start it.

# chkconfig ntpd on
# service ntpd start
Starting ntpd:                                             [  OK  ]
#


Enable LVM monitoring service (this is one of the %post failures during the LVM installation)

# chkconfig lvm2-monitor on                                 
# service lvm2-monitor start                                
Starting monitoring for VG panda:   1 logical volume(s) in volume group "panda"
monitored                                                                      
[  OK  ]                                                                       
#


Lock the guest account.

# usermod -L guest                                          
#

Add /boot/uboot as an entry in fstab.  The entry should look like this:

LABEL="uboot"           /boot/uboot             vfat    defaults,noauto 0 0
You also will want to update the / entry in fstab to mount the filesystem ext4 since that's what we formatted it as (mounting as ext3 is perfectly valid but will use none of the ext4 capabilities or features).  That line will now look like:

LABEL="rootfs"            /                       ext4    defaults        1 1

Additional items you might want to address:
  1. Change the root password
  2. Add swap (create lvol, mkswap, and enable it)
  3. Install openssh-clients for ssh support
  4. Change the hostname (/etc/sysconfig/network) 
  5. Set the timezone (it's currently in EST)

Well, that should be enough to get started.

    No comments:

    Post a Comment