Skip to contentSkip to conversation

Deploy to a hard drive

DISCUSSION Sean Liming 2 participants 4 messages Feb 11, 2012 – Feb 12, 2012

lore
Share & tools
lore
#0 lore raw

Follow the Wiki instructions:

1) have a suitable partition on the disk - say partition #3

2) this partition will show up as sde3 on my host machine and sda3 on the atom

3) mkfs.ext3 /dev/sde3

4) mount /dev/sde3 /mnt/target

5) mount -o loop tmp/deploy/images/core-image-sato-sdk.ext3 /mnt/target-text3

6) cp -a /mnt/target-ext3/* /mnt/target

7) grub-install --recheck --root-directory=/mnt/target /dev/sde

When I do step 4, I get "mount: mount point /mnt/target does not exist"

What am I missing?

I am using Ubuntu 10.4 LTS 32-bit.

Regards,

Sean

#1 lore raw

Need mkdir /mnt/target and mnt/target-ext before step 4

Sent from my Kindle Fire

_____________________________________________
From: Sean Liming <[email protected]>
Sent: Sat Feb 11 16:13:33 EST 2012
To: [email protected]
Subject: [yocto] Deploy to a hard drive

Follow the Wiki instructions:

1) have a suitable partition on the disk - say partition #3

2) this partition will show up as sde3 on my host machine and sda3 on the atom

3) mkfs.ext3 /dev/sde3

4) mount /dev/sde3 /mnt/target

5) mount -o loop tmp/deploy/images/core-image-sato-sdk.ext3 /mnt/target-text3

6) cp -a /mnt/target-ext3/* /mnt/target

7) grub-install --recheck --root-directory=/mnt/target /dev/sde

When I do step 4, I get “mount: mount point /mnt/target does not exist”

What am I missing?

I am using Ubuntu 10.4 LTS 32-bit.

Regards,

Sean

#2 lore raw

Created those directories. I just got past this error as it looks like / before mnt is not needed.

Step 7 required that I use the –force switch.

1. There is no bzImage in the /boot folder – was there an extra step

2. Cannot add the grub.cfg since it appears locked.

Regards,

Sean

From: Jim Abernathy [mailto:[email protected]]
Sent: Saturday, February 11, 2012 1:23 PM
To: Sean Liming; [email protected]
Subject: Re: [yocto] Deploy to a hard drive

Need mkdir /mnt/target and mnt/target-ext before step 4

Sent from my Kindle Fire

_____

From: Sean Liming <[email protected]>
Sent: Sat Feb 11 16:13:33 EST 2012
To: [email protected]
Subject: [yocto] Deploy to a hard drive

Follow the Wiki instructions:

1) have a suitable partition on the disk - say partition #3

2) this partition will show up as sde3 on my host machine and sda3 on the atom

3) mkfs.ext3 /dev/sde3

4) mount /dev/sde3 /mnt/target

5) mount -o loop tmp/deploy/images/core-image-sato-sdk.ext3 /mnt/target-text3

6) cp -a /mnt/target-ext3/* /mnt/target

7) grub-install --recheck --root-directory=/mnt/target /dev/sde

When I do step 4, I get “mount: mount point /mnt/target does not exist”

What am I missing?

I am using Ubuntu 10.4 LTS 32-bit.

Regards,

Sean

#3 lore raw

I figured out the last problem, and the system boots to the drive.

Regards,

Sean Liming

Owner

SJJ Embedded Micro Solutions, LLC.

Tel: 714-970-7523 / Cell: 858-774-3176

From: [email protected] [mailto:[email protected]] On Behalf Of Sean Liming
Sent: Saturday, February 11, 2012 2:13 PM
To: 'Jim Abernathy'; [email protected]
Subject: Re: [yocto] Deploy to a hard drive

Created those directories. I just got past this error as it looks like / before mnt is not needed.

Step 7 required that I use the –force switch.

1. There is no bzImage in the /boot folder – was there an extra step

2. Cannot add the grub.cfg since it appears locked.

Regards,

Sean

From: Jim Abernathy [mailto:[email protected]]
Sent: Saturday, February 11, 2012 1:23 PM
To: Sean Liming; [email protected]
Subject: Re: [yocto] Deploy to a hard drive

Need mkdir /mnt/target and mnt/target-ext before step 4

Sent from my Kindle Fire

_____

From: Sean Liming <[email protected]>
Sent: Sat Feb 11 16:13:33 EST 2012
To: [email protected]
Subject: [yocto] Deploy to a hard drive

Follow the Wiki instructions:

1) have a suitable partition on the disk - say partition #3

2) this partition will show up as sde3 on my host machine and sda3 on the atom

3) mkfs.ext3 /dev/sde3

4) mount /dev/sde3 /mnt/target

5) mount -o loop tmp/deploy/images/core-image-sato-sdk.ext3 /mnt/target-text3

6) cp -a /mnt/target-ext3/* /mnt/target

7) grub-install --recheck --root-directory=/mnt/target /dev/sde

When I do step 4, I get “mount: mount point /mnt/target does not exist”

What am I missing?

I am using Ubuntu 10.4 LTS 32-bit.

Regards,

Sean