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:
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 cardand trying to boot it I see: *The device "by-id" it's looking for is the device id of the original/source SD Card...*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 frommy 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...
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:
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...
Then after those 2 messages above timeout, that line is then replaced with:
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!
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:
I'm not sure what mmcblk0 even is. If it's a partition, rather than a disk, that'll be wrong.
There's no reason you need to do the cloning on the device itself. I'd just plug the cards into an ordinary computer running linux, and dd if=/dev/sdc of=/dev/sdd bs=64K or what have you. fdisk -l to verify which are which and all that.
mmcblk0 is the same as sdc, sdb, sda, etc... That is just what an SD Card is called when its connected without a USB reader and its connceted directly to an SD Card slot.
That is what I was doing. I was cloning the SDCards while they were connected to my laptop, running OpenSuSE 11.4.
But I was able to boot up and login successfully using the cloned SD Card.
Good deal. As long as you're copying disk to disk, it ought to work.
Here's another trick that'll be useful to you:
You can back up entire disk images and restore them later. If you're editing your bootloader images, this is a good idea. Last resort, you can always set them back to "default".
Right after I got that clone working I made an image file of the original SD card. So now I can do it straight from the image file instead of physically needing that original SD card everytime...
Thanks again everybody for the replies, very much appreciated!
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)
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)
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)
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)
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)
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)
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)
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)
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)