System Partitions Over Two Drives

I have a machine with two drives a Compact Flash card (CF) and a Solid State Drive (SSD). Recently I have been experiencing failures of both the SSD and the CF.

When I sent these back to the manufacturer for analysis, they reported that the SSDs and CDs are healthy - but that it appears that the partition table has become corrupt.

Using a Kickstart I created my Linux machine with the partitions split over the CF (to hold the operating system) and the SSD (to hold my data):
/ on the CF
/boot on the CD
/usr on the CF
/home on the SSD
Would Unix have an issue with using the CF to boot and run the operating system and using the SSD to store files?
Has anyone experienced any issues of this kind?


Similar Content



Comparing SSD And Compact Flash Memories

Hi all,

I have a device which has a Compact Flash card and a SSD. The file system is split so that everything except "/home" is stored on the compact flash card.

On the compact flash I am experiencing partition table corruption due to power loses when writing to the CF card.

One solution to this is to move everything onto the solid state drive, but as this is also flash memory - is the rish of corruption still the same as using the CF card?

Thanks in advance for any replies.

Clone A Bootable CF Card With Multiple Partitions And Copy To Bigger Drive

Hi, all, I am new to the forum and quite new to Linux, I am running Mint and Kali from a USB drive, all is going well with with the software and I am starting to find my way around it.

So, now to my question, I have 15 machines which all run from a CF card and the card has multiple partitions and is a Windows Embedded XP, not that the operating system makes any difference, I need to upgrade all the CF cards from 2gb to 4gb, so unfortunately Windows isn't an option to use to copy the drives as it doesn't recognise multiple partitions on a removable drive, so I cant just remove the drive, clone it and fit the new one.

What I need is a method of cloning the drive completely with both partitions, I have read about dd but cant seem to see anything about doing this with multiple partitions, as Linux sees it as two drives when I plug it in, how can I use dd or anything else to clone the drive which is bootable and has two partitions?

At some point I would like to automate the process as I could have many of these machines/drives to upgrade, is there a way to write a program that will automatically back up the drives from a USB drive and then reinstall it, I have seen this done before but I am not sure if this method did the whole drive, just the main drive or all partitions?

Second Hard Drive Showing First Drive / When Mounted

On my current system I have drives sda, sdb, sdc; 1TB, 1.5TB, 1.5TB respectively.
SATA drive a is where I installed the OS and the other SATA drives b and c are from an old system that was linux software mirror, something I was using to play and learn. Now I have added b and c to my current system and before doing so I stopped the mirror and removed the partitions. I added the drives to my current system and used cfdisk to create one partition on each and then mounted the new drives. I then run ls and I see bin/....etc. listed in the new drive. Is this normal or when I create the new drive partitions should I use Logical instead of Primary.

Is there a way to get my drives back to non raid that I have missed doing?

Thanks

How Do I Recover Data From Lost Partition

Booted my computer with 2 USB flash drives inserted. One of the drives turned out to be an MS-DOS boot drive. The PC booted in DOS and wiped out the partition table of the other flash drive with my data on it. This second (64Gb) drive had a single 64Gb type 83 (Linux) primary partition (ext4 file system).

Is there a way to recover the data that's on the second stick?

I've been told that all I have to do is repartition it exactly as it was and my data will be there. But I'd like to have advice from the pros here before I start messing with it.

For the time being, I dd-ed the entire stick, as is, onto a blank partition of my hard disk (dd if=/dev/sdb of=/dev/sda14). The process completed without errors but /dev/sda14 is unmountable for the moment.

Thanks for any help.

Image A Bootable CF Card With Multiple Partitions

Hi all,

As you can probably tell I am new to Linux and new to the forum, I am using Kali and Mint both as live Linux environments on USB drives, all is good and I am finding my way around, the reason for the post is that I need to copy 15 CF cards that have multiple partitions, Windows isn't really an option as it can only see one partition on a removable drive, so here goes with Linux.

The CF cards contain Windows Embedded XP in one partition and a separate partition for user data which isn't protected, not that the contents matter, only the fact that it is bootable with multiple partitions, the object is to upgrade the old 2gb cards to 4gb cards to add an additional program on the embedded drive, but they are both full.

as long as I can copy both partitions over the partition size doesn't matter as I can resize that if necessary, but I need both partitions to copy over to the new drive.

I have read that dd command is the way to go but cant find much on multiple partitions which display in Linux as two drives, so how do I go about this, any pointers

Ideally I would like to automate the process as this is something that we could end up doing on a regular basis, I have seen a USB drive that was plugged into a PC and through a basic GUI allowed you to copy a HDD but I don't know If that would do both partitions, something for the future?

Copy Encrypted Compact Flash Issues With Dd In Ubuntu

Hello, I have a system that uses a compact flash with a windows os and some other files on it, also somewhere is some sort of encrypted licensing information. I have several of these machines and can use the cf from the others just fine in this machine. But when I take one of those cards and try to copy it with dd, somehow the machine can tell the difference. It's nothing illegal, it's just too old to buy the replacement. Someone has told me they copied successfully in linux with the dd command, but mine aren't working. I also can't tell the brand or type of cf since all the labels have been removed. All i know is that it's a 256mb card. So is there any other options besides dd, or is there a deeper level of dd that i can use to copy this info. I'm using something like:

sudo dd if=/dev/sde of=/home/folder/cfcard

then to copy from my hard drive to the blank cf:

sudo dd if=/home/folder/cfcard of=/dev/sde

I'm using a usb cf reader, and when i have my finished cf everything looks good. Even the machine can read it, it just gives me an error that the cf card isn't a licensed or corrupted.

I Set Up An Ext4 Partition On External HD To Store Media Files. Permission Issues

I recently bought a WD external hard drive for storing file of several types. Using gparted I made two partitions, one ntfs for windows files and an ext 4 for linux files. Strangely, I have complete access to ntfs partition from linux side of duel boot system, but do not have permission to access ext4 partition. My root password does not work when I use su to gain root access. It works fine on built in hard drive.

Making Kickstart File Available On USB Drive?

The RHEL installation guide says:

The kickstart file should be on a
separate flash memory drive to the boot media.

Why is this?

If I want to have the minimal boot media, the kickstart file and the complete installation software on the same USB drive, is it not possible?

How do I point to the kickstart file on the USB drive if it has a file system and the kickstart file is not a raw copy but a file on the file system?

Live DVD - Grub Install Issue

Hello all,

I am new to linux but not new to PC's.

I am self taught in everything i know so far.

I have an issue i am looking for some guidance on, i have burned an ISO copy of AVLinux & booted from the Live DVD.

chose to install on partition & created all the necessary file systems etc with GParted then proceeded with the install.

Completed install but when i try to boot no joy.

I have EasyBCD installed on Vista to manage to boot processes.

I am able to get to Grub4dos window & grub> prompt.

I have tried many commands of which i have identifeid the partition is there as correct filesystem, when running the /vmlin....TAB command it locates the name of the linux distro, if i set the drive partition to makeactive it boots up saying no operating system them have to change it back to Vista.

I have two pics that show the grub configuration reading from the live DVD, the install appears to have some missing or not right as opposed to the DVD, can anyone assisst how i can fix this issue?

Do i have to copy each file over manually from the Live DVD's folders?

Cant attach images here so here is the differeneces,

these are the listing on the Grub configuartion being read using the Live DVD,

1. /etc/grub.d
2. /boot/grub/device.map
3. grub-install
4. grub-mkconfig
5. grub-mkdevicemap--device
6. grub-mkfont
7. /boot/grub
8. /boot/grub/grub.cfg
9. /etc/default/grub

Here is what way they are on Live DVD,

1. Present
2. Present
3. Present
4. Present
5. Present
6. Present
7. Present
8. Yellow information bubble
9. Present

My install on partition,

1. Present
2. Yellow information bubble
3. Red X bubble
4. Red X bubble
5. Yellow information bubble
6. Present
7. Yellow information bubble
8. Yellow information bubble
9. Present

what do i need to do to remedy this?

i have attempted the install on couple of different drives, no success.

My Debian 7 Installation Created More Than 4 Primary Partitions On My MBR Disk!!!

Hi

I am very suprised! I previously had a Windows 7 desktop, dual boot with Windows Server 2012 R2. I didn't care much about 2012 R2, so I went with a Debian server on another computer.

I wanted to triple boot my computer, so I looked at my BIOS to see if my computer has UEFI support, but it doesnt, so I am not able to boot to GPT. One decision lead to another, and I decided not to install Hackintosh. As part of this process, I had converted it to GPT, and then back to MBR when installing Windows 8.1 Pro. Everything went well.

When I went to install Debian 7, it was not recognizing anything on that drive. I found out it was a backup GUID partition table left over. I used fixparts found on rodsbooks.com, and I fixed the disk partition table.

Now this is where things get weird. Before installing, I created a primary partition for /, and an extended partition with 5 logical partitions inside it. I installed Debian 7 from a live install DVD, and I manually created the partitions. I created a 4GB /, 16GB /usr, 4GB /var, and 64GB /home. Then I left a bunch of free space (~145GB) and then 16GB swap space. (I have 8GB ram, and I plan to hibernate sometimes).

After a successful installation, installation of packages, reboots, and frustration with PCI card problems, I rebooted to Windows 8.1.

Upon opening diskpart gui, I was greeted with the picture attached.

WHAT IS GOING ON?