How do I boot from my swap drive?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

How do I boot from my swap drive?

Postby GAPP99 » Thu Apr 25, 2013 1:05 pm

I have two USB sticks inserted in my USB hub, which goes into the PogoPlug Mobile.

I want to install a image from my 2nd USB stick (swap drive), but my Arch Linux is installed on the 1st USB stick.

Can I do it without fucking the system up, and if so, how?

$this->bbcode_second_pass_code('', '[root@alarm /]# blkid -o list -c /dev/null
device fs_type label mount point UUID
------------------------------------------------------------------------------------------------
/dev/sda1 ext3 /
/dev/sdb1 ext3 rootfs (not mounted)
/dev/sdb2 swap swap (not mounted)
')

$this->bbcode_second_pass_code('', '[root@alarm /]# fdisk -l
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 6293503 3145728 83 Linux
/dev/sdb2 6293504 6817791 262144 82 Linux swap / Solaris
')
GAPP99
 
Posts: 17
Joined: Mon Apr 15, 2013 11:38 am

Re: How do I boot from my swap drive?

Postby moonman » Thu Apr 25, 2013 4:02 pm

:shock: I don't understand what you are asking. You've got a drive with a swap partition on it, and you want to install something from it? swap is used in case there's not enough ram left. You can't install anything from it.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: How do I boot from my swap drive?

Postby GAPP99 » Thu Apr 25, 2013 4:23 pm

Okay, so here's what I'm trying to do:

I want to install a image I have on my USB stick. When I insert it in the USB hub, it treats it as a SWAP drive.

How can I boot from the USB drive?
GAPP99
 
Posts: 17
Joined: Mon Apr 15, 2013 11:38 am

Re: How do I boot from my swap drive?

Postby moonman » Mon Apr 29, 2013 9:38 am

Format the usb stick as ext3 and install as usual.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 18 guests