Sponsored Content
Operating Systems Linux Ubuntu Clone one partition and boot from USB Post 302830625 by menda on Tuesday 9th of July 2013 07:41:06 AM
Old 07-09-2013
Clone one partition and boot from USB

I have small problem: my hard drive has 500GB storage and it is divided into partitions
Code:
/dev/sda1 - 20 GB (boot)
/dev/sda2 - rest

I want to clone only one partition
Code:
/dev/sda1

and write all data on my USB stick
Code:
/dev/sdb

What's more I want to make my USB bootable and I don't know at all how can I do that (if it is possible to clone only one partition and properly modify MBR in order to boot from USB).
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to remove a unix boot partition ?

Hi group member, I'm as new as a newbie can get on Unix, so bear with me . I just got a task of installing NT on a box that had some sort of unix on it. Once I reboot, i always get a Grub> screen and I dont' know how to get rid of it. Just relying on the nt install parition don't seem to be able... (1 Reply)
Discussion started by: kwanm63
1 Replies

2. Linux

How to boot Fedora 8 from USB

Hi, friends, can anyone suggest me how to boot fedora 8 from USB flash drive? thanks. :confused: (3 Replies)
Discussion started by: MULTIVERSE
3 Replies

3. BSD

Moving /var partition to USB stick

I am currently running DesktopBSD as a live-CD and need to have a large /var partition because it is currently too small. I have a USB stick which is BSD formatted, and would like to have the /var partition moved over to it. How can this be done? Could I for instance use a symlink? (1 Reply)
Discussion started by: figaro
1 Replies

4. Linux

Usb Boot

Hi I am trying to create a fedora 11 usb boot disk for my acer aspire note book. Problem is the only access i have to another machine is a mac running leopard. Can some one tell me how i go about this please Treds (3 Replies)
Discussion started by: treds
3 Replies

5. Red Hat

How to Extend Boot Partition

Hi, My linux server working with LVM partition and with /boot partition, now my /boot partition is full, now i need to extend my boot partition. can i know how to do it, without any data loss. Regards, M.Selva Prakash (4 Replies)
Discussion started by: mselvaprakash
4 Replies

6. Red Hat

USB HDD not showing valid partition on one Solaris machine

Hi All, We have got a USB HDD with important data in it. The data has been copied to the disk(formatted ext3) via a LINUX system. The data was supposed to be copied to a second LINUX machine. Surprisingly, it doesn't show up any valid partitions in the new box. dmesg: usb1-3:... (2 Replies)
Discussion started by: Bikash Mishra
2 Replies

7. Solaris

T5220 not able to boot from USB

Hi, I want to install Solaris-11 on T5220. I created USB from sol-11_4-text-sparc.usb by usbcopy on another Solaris-11 servers, which looks like a good one. I tried did "reset-all" and still same issue. Can I get some help on this. {0} ok reset-all Sun Netra T5220, No Keyboard Copyright... (8 Replies)
Discussion started by: solaris_1977
8 Replies
BOOT.CONFIG(5)						      BSD File Formats Manual						    BOOT.CONFIG(5)

NAME
boot.config -- Configuration file for the boot blocks DESCRIPTION
The boot.config file contains options for the FreeBSD boot block code. When the FreeBSD boot loader runs, it searches the ``a'' slice of the boot partition for a boot.config file (as a result, slices which are missing an ``a'' partition require user intervention during the boot process). If the boot.config file is found, its contents are used as the default configuration options for the boot block code and are echoed to the system console. A valid format of this file is to put BIOS drive number, a controller type, a unit number, a partition, a kernel file name, and any other valid boot(8) option on a single line, as it is done at the ``boot:'' prompt. The options related to the boot image selection described below and all the other options available for boot.config are documented in detail in the boot(8) manual page. FILES
/boot.config parameters for the boot blocks (optional) EXAMPLES
The command: # echo "-P" > /boot.config will activate the serial console of FreeBSD. The command: # echo "1:ad(1,a)/boot/loader" > /boot.config will instruct the second stage of boot(8) on the first disk to boot with the third boot(8) stage from the second disk. The command: # echo "1:ad(1,a)/boot/loader -P" > /boot.config will do both of the above. SEE ALSO
boot(8), loader(8) AUTHORS
This manual page was written by Daniel Gerzo <danger@FreeBSD.org>. BSD
May 13, 2007 BSD
All times are GMT -4. The time now is 01:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy