On 04-09-15 23:25, Robert Moskowitz wrote: > I am trying to build a RSEL7 image on a USB hard drive for my pogoplug. > > I got an Inland 40Gb USB HD and used gparted to delete the DOS > partition. I then created the RSEL partitions with: > > parted /dev/sdb mklabel msdos > parted /dev/sdb mkpart primary ext3 4 211 > parted /dev/sdb mkpart primary linux-swap 211 735 > parted /dev/sdb mkpart primary ext4 735 8020 > mke2fs -t ext3 -L uboot /dev/sdb1 > mkswap /dev/sdb2 > mke2fs -t ext4 -L rootfs /dev/sdb3 > > untared the files onto the drive > > tar -C /run/media/rgm/rootfs/ -Jxvf > /home/rgm/arm/RSEL/RSEL7-rootfs.tar.xz > tar -C /run/media/rgm/rootfs/lib/modules -Jxvf > /home/rgm/arm/RSEL/f18-modules.tar.xz > tar -C /run/media/rgm/rootfs/lib/firmware -Jxvf > /home/rgm/arm/RSEL/f18-firmware.tar.xz > tar -C /run/media/rgm/uboot/ -Jxvf /home/rgm/arm/RSEL/f18-uboot.tar.xz > > fixed etc/fstab > > /dev/sda3 / ext4 defaults,noatime 0 0 > /dev/sda2 swap swap defaults,noatime 0 0 > /dev/sda1 /boot ext3 defaults,noatime 0 0 > > And booted the pogoplug with only this drive attached. Serial console > shows: > > [ 28.704679] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with > MAC address 00:25:31:02:fe:7c > [ 28.715529] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 > (Hynix NAND 128MiB 3,3V 8-bit), 128MiB, page size: 2048, OOB size: 64 > [ 28.760473] Scanning device for bad blocks > [ 29.383780] Creating 3 MTD partitions on "orion_nand": > [ 29.399132] 0x000000000000-0x000000100000 : "u-boot" > [ 29.409128] 0x000000100000-0x000000500000 : "uImage" > [ 29.419622] 0x000000500000-0x000008000000 : "root" > [ OK ] Found device MK4026GAX. > Activating swap /dev/sda2... > [ 29.700770] Adding 511996k swap on /dev/sda2. Priority:-1 > extents:1 across:511996k > [ OK ] Activated swap /dev/sda2. > [ OK ] Reached target Swap. > [ OK ] Found device MK4026GAX. > Mounting /boot... > [ 29.897320] FAT-fs (sda1): bogus number of reserved sectors > [ 29.902969] FAT-fs (sda1): Can't find a valid FAT filesystem > [FAILED] Failed to mount /boot. > See 'systemctl status boot.mount' for details. > [DEPEND] Dependency failed for Local File Systems. > [DEPEND] Dependency failed for Relabel all filesystems, if necessary. > [DEPEND] Dependency failed for Mark the need to relabel after reboot. > [ 30.227339] systemd-journald[245]: Received request to flush > runtime journal from PID 1 > [ 30.605580] type=1305 audit(14.140:2): audit_pid=316 old=0 > auid=4294967295 ses=4294967295 subj=kernel res=1 > Welcome to emergency mode! After logging in, type "journalctl -xb" to > view > system logs, "systemctl reboot" to reboot, "systemctl default" to try > again > to boot into default mode. > Give root password for maintenance > (or type Control-D to continue): > > I can send you the whole boot process, but it seems only sda1 is > having this problem with being thought as a FAT partition, even though > I did format it as ext3. > > What to do next? check /etc/fstab My guess is that there /boot is specified as type "vfat", so the thing will try to mount it as vfat.
Jacco _______________________________________________ users mailing list [email protected] http://lists.redsleeve.org/mailman/listinfo/users
