Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How Much Space Before 1st Partition? Post 302926474 by mrm5102 on Monday 24th of November 2014 04:06:52 PM
Old 11-24-2014
I apologize in advance for the long message, but I wanted to be as detailed as possible...

*AS I WAS WRITING THE MSG BELOW, I GOT IT WORKING Smilie!!!

The Image I'm using for the Operating System is OpenSuSE 13.1 XFCE.
HERE: http://files.jm0.eu/suse/openSUSE-13...ild68.2.raw.xz

I made a mistake in the messages that I see during the boot up process... I found my notes from last week and this is what I tried.

Clone Command:
Code:
dd if=/dev/sdc of=/dev/mmcblk0 conv=sync,noerror bs=64K

Here is what I actually see...

After cloning the Working SD Card to an empty card (*with the command above) and not doing anything else to the card and trying to boot it I see:
*The device "by-id" it's looking for is the device id of the original/source SD Card...
Code:
Waiting for device /dev/disk/by-id/mmc-SD08G_0xda132e07-part2: ......
Want me to fall back to /dev/disk/by-id/mmc-SD08G_0xda132e07-part2 (Y/n)
n
not found -- exiting to /usr/sbin/sulogin
Give root password for maintenance 
(or type Control-D to continue)

*Entering Yes or No above makes no difference, can't get anywhere, if I enter "No" it prompts for root password, but it's not the root password I setup on that card so I can't get anywhere else from there...

So, the next thing I tried was I modified the boot.script file, which is just plain text and replaced the original SDCard's by-id name for the clone's by-id name.

Original SDCard by-id: mmc-SD08G_0xda132af2
Clone SDCard by-id:
mmc-SD08G_0xda132f35

Then I ran this mkimage command below, which recreated the boot.scr file, which now contains the Clone's ACTUAL by-id name.

Then, I unmounted the cloned SDCard from my laptop and attempted to boot it in the CuBox again, and I now see:
*I see the same line again from above (*with the correct by-id name), and this time I gets passed that point...
Code:
Waiting for device /dev/disk/by-id/mmc-SD08G_0xda132f35-part2 to appear: ok
.......................................
..........MORE LOG MESSAGES............
.......................................

Welcome to openSUSE 13.1 (Bottle) (armv7hl)

[    8.901601] systemd[1]: Set homename to <linux>.
[    9.049417] LVM: Logical Volume autoactivation enabled.
[    9.049417] LVM: Activation generator successfully completed.
[    9.049417] systemd[1]: Starting Replay Read-Ahead Data...
.............................more log msgs..................................
[       OK       ] Listening on Syslog Socket
.............................more log msgs..................................

I then start seeing the log messages where you get the green OK or the red FAILED messages at the start of each line.

Then in between those log messages with the GREEN or RED OK/FAILED like above, I see:
Code:
Expecting device dev-disk-by\x2did-mmc\x2SD08G_0xda132af2\x2dpart3.device...
 ........................................
................more messages...........
........................................
Expecting device dev-disk-by\x2did-mmc\x2SD08G_0xda132af2\x2dpart1.device...
........................................
................more messages...........
........................................

Then the boot process finally stalls and I see these 2 messages below. They both display on the same line, it just switches between the 2 every couple of seconds...
Code:
[**     ] (1 of 2)  A start job is running for dev-disk-by\x2did-mmc\x2dSD08G_0xda132af2\x2dpart1.device
     ---and---
[  *** ] (2 of 2)  A start job is running for dev-disk-by\x2did-mmc\x2dSD08G_0xda132af2\x2dpart3.device

Then after those 2 messages above timeout, that line is then replaced with:
Code:
[   TIME  ] Timed out waiting for device dev-disk-by\x2did-mmc\x2dSD08G_0xda132af2\x2dpart1.device.
[DEPEND] Dependency failed for /boot.
[DEPEND] Dependency failed for Local File Systems.

After that I remembered about /etc/fstab, opened that file on the clone SD Card, and replaced the by-id name with the correct one, and suddenyl it got me to the login prompt!!

I KNOW for a fact that I had done all the steps above at some point on different SD Cards but I guess just NOT in that exact order... But I am logged into that SD Card now on the CuBox and it seems to be working just fine...

Sorry for the long post, and thanks again for the help! Very much appreciated!

Thanks AGAIN,
Matt
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Swap Partition Space

first of all, sorry about my english...I´m a spanish newbie to this marvelous OS and i have just a couple of doubts...u know? :-) 1) how big should my swap partition be if i installed debian 2.2r3 or FreeBSD 4.x on a AMD k7 1400Mhz with 512Mb of Random Access Memory? i heard that those OS... (1 Reply)
Discussion started by: I[X]ION
1 Replies

2. UNIX for Advanced & Expert Users

moving space from one partition to another

How can I move some space allocated to one partition to another, i.e. from "/var" to "/" . Thanks! (4 Replies)
Discussion started by: jason6792
4 Replies

3. Shell Programming and Scripting

Disk space for root partition

Hello, I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example: df -k: bash-2.05b# df -k Filesystem 1K-blocks Used Available Use% Mounted on /dev/xxx 4127108 2415340 1502120 62% / /dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies

4. UNIX for Dummies Questions & Answers

Best ways of increasing space on a partition

Hi, On one of our solaris servers, the root partition has filled up,(it was poorly sized in the first place), Does anyone have any advice about the best way to add space to a partition. I'm sure I've read how to do this somewhere before but just can't remember...:( A colleague has suggested... (1 Reply)
Discussion started by: kenny123m
1 Replies

5. Red Hat

RHEL 5 supports only 2 TB space for a partition !

Dear Friends , I am using Redhat Ent Linux 5.0 with a EMC storage which HDD space is 4 TB. After Installing RHEL 5 , I get 4 TB space available but when I am going to create a partition then the OS show 2TB available space . I cannot create a partition above 2TB space . Is there any limitation... (3 Replies)
Discussion started by: shipon_97
3 Replies

6. UNIX for Dummies Questions & Answers

shifting space from one partition to other

hi My System is Sun Microsystems Inc. SunOS 5.10 Solaris Partition Info is /dev/vx/dsk/bootdg/var 27G 25G 1.2G 96% /var /dev/vx/dsk/bootdg/oravol 110G 54G 56G 49% /export/home I want to shift space 20G from /export/home to /var What should be the command ?? (2 Replies)
Discussion started by: kaushik02018
2 Replies

7. Slackware

Ideal partition sizes of 17 gb space.

I am planning to install slack 13.37 on an old stand-alone PIII (512 mb ram) with 17 gb disk space. I need to keep lotsa pdf, chm type e-books for programming with few other misc. documents. I'm going to use this system for my personal use. It has no network but I browse internet with cable... (0 Replies)
Discussion started by: vectrum
0 Replies

8. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

9. Shell Programming and Scripting

How to consume all available space on partition?

Hi I'm doing some resilience testing and need to write a script to consume all of the available disk space on a partition and then to free it up again. This would need to be - Safe Dynamic, in that it calculates the free space prior to consuming it. I might want to go on to consume a... (7 Replies)
Discussion started by: bbq
7 Replies

10. Red Hat

Allot free space from one partition to other

I have a RHEL 5.3 machine with the following partitions and free space: Free space on the partitions / : 74GB /boot : 81MB /var : 73GB /home : 37GB /icat : 758MB /opt : 1.5GB Now is it possible to allot a free space of some other partitions to /opt? I want around 100 GB more space... (4 Replies)
Discussion started by: omniok
4 Replies
All times are GMT -4. The time now is 07:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy