06-17-2003
Copying a Linux distro from one partition to the other...
Hola. Here is how my partition table looks:
Device Boot Start End Blocks Id System
/dev/hde1 1 1689 13566861 7 HPFS/NTFS
/dev/hde2 * 1690 2783 8787555 83 Linux
/dev/hde3 2784 2813 240975 82 Linux swap
/dev/hde4 2814 4111 10426185 5 Extended
/dev/hde5 2814 4065 10056658+ 83 Linux
/dev/hde6 4066 4111 369463+ 82 Linux swap
I have Debian on hde2 and LFS on hde5. I haven't used Debian for a long, long time now (I only needed it to build LFS), so I want to format hde2 and then copy my LFS partition onto it. Is this safe to do?
If yes, then will a simple `cp / /mnt/debian` suffice?
Last edited by Mr_Proper; 06-17-2003 at 11:51 AM..
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I'm have old toshiba laptop(t1900) 486, 4mbRAM and ~120MB of hdd
I'm looking for distro to suite my comp, no need for X windows but not enything that runs on FAT, just normal small Linux.
Actually, *BSDs will do as well. If u know any distro that would do this I will be thankful for hint
... (4 Replies)
Discussion started by: wolk
4 Replies
2. Solaris
I have a slice on a 72GB hard drive like this (example):
/dev/dsk/c0t1d0s0 51424287 51009 50859036 1% /usr/stuff
that I need to copy or move to a slice on a MUCH larger slice like this:
/dev/dsk/c0t2d0s6 70592505 570236 69316344 1% /usr/newstuff
What is the... (4 Replies)
Discussion started by: antalexi
4 Replies
3. Shell Programming and Scripting
hello ALL,
I wander, is there an easy way to get information which linux distro and its version a script runs on?
I'm looking for a function like getDistroInfo(), which would return strings like "Ubuntu7.10" or "SLES10" or "RHEL5" etc.
uname returns lots of stuff, but distro info.... (1 Reply)
Discussion started by: Samtim74
1 Replies
4. UNIX for Dummies Questions & Answers
want to know which Linux distro is 4 me. want 2 teach my self programing and problem solving. i want to learn code and write code. i have an acer aspire one 2GB memory 160 GB HDD intel Atom. look im as noobie as it gets im a MS xp, vista boy want to go beyond graphical click and do... any help... (1 Reply)
Discussion started by: BizilStank
1 Replies
5. What is on Your Mind?
I have been using Linux OS since 4 years and I'm very interested to know how to create a Linux Distro. I have heard about LFS.
I would just like to know, what do I need to create a Linux Distro?
I'm not a programmer, if I have to create a Linux Distro, what programming languages do I need to... (3 Replies)
Discussion started by: Auzern
3 Replies
6. Linux
I hate the fact that my first post is this. Anyhow, I've been using Linux distros such as Ubuntu, Fedora, Debian, openSUSE, and a few others for quite some time now. I've never had a problem with any distro, thus saying that they were all good in my opinion. I've been reading a lot on different... (2 Replies)
Discussion started by: Vex
2 Replies
7. Linux
Hello,
I have a Compaq Presario v3000 5 year old laptop, with 1 GB RAM and currently running the (slow and stupid) Windows 7 32 bit, thus I would like to dual boot it with an appropriate distro of Linux that
1) Doesnt consume too much resources (1 GB RAM is not a lot of space) and it ll be... (4 Replies)
Discussion started by: ajayram
4 Replies
8. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
9. Open Source
What is your favorite Linux distro?
and possibly why?
Personally, I have Fedora 3 on my computer. I have used Ubuntu and Slackware, too. But I think I liked Ubuntu more, maybe because of its speed and easy installation of packages. (192 Replies)
Discussion started by: milhan
192 Replies
LEARN ABOUT DEBIAN
acorn-fdisk
FDISK(8) BSD System Manager's Manual FDISK(8)
NAME
acorn-fdisk -- partition editor for Acorn/RISC OS machines
SYNOPSIS
acorn-fdisk -h | --help | -v | --version
acorn-fdisk [-t scheme | --type scheme] -l | --list [device ...]
acorn-fdisk [-t scheme | --type scheme] -s | --size partition
acorn-fdisk [-t scheme | --type scheme] [device]
DESCRIPTION
The acorn-fdisk utility allows one to display or interactively edit partition tables for Acorn/RISC OS machines in various formats. Using
the PC/BIOS format, standard IBM PC (i386) partition tables can also be accessed. When no optional device is given, it defaults to /dev/hda
or /dev/sda.
The options are as follows:
-h | --help Display a short usage and exit immediately.
-l | --list Display the partition table(s) of all devices.
-s | --size Display the size of partition.
-t | --type Select the partitioning scheme to use. Valid schemes are:
EESOX Eesox SCSI on the Acorn machines.
ICSIDEFS ICS IDE.
Filecore/Linux Linux on Filecore. This uses the non-ADFS descriptor to point to the start of the disc to be partitioned. The
first two sectors contain a partition table to identify the Linux partitions contained within.
PC/BIOS PC/BIOS partitioning scheme. This consists of a partition table in the first sector of the disk which contains
both CHS and LBA values for the partitions. There can be up to four entries in the primary partition table.
One of these can be an extended partition containing up to four extra partitions.
PowerTec PowerTec SCSI on the Acorn machines.
Filecore/RISCiX RiscIX on Filecore.
-v | --version
Display the version of acorn-fdisk and exit immediately.
If neither -l | --list or -s | --size are given, the partition table of the given device will be edited interactively.
EXAMPLES
Display the default device's partition table on a PC:
acorn-fdisk --type PC/BIOS -l
Display the PC partition table of /dev/sda:
acorn-fdisk --type PC/BIOS --list /dev/sda
Display the size in blocks of the partition /dev/sda1:
acorn-fdisk --type PC/BIOS --size /dev/sda1
Edit the MBR partition table interactively:
acorn-fdisk --type PC/BIOS
Display the partition table of an MBR backed up to a file:
acorn-fdisk -t PC/BIOS -l mbrdump.bin
Display the size of the first partition on a device where the MBR would be restored from the backup file mbrdump.bin:
acorn-fdisk -t PC/BIOS -s mbrdump.bin1
AUTHORS
arm-fdisk was written by Russell King <rmk@arm.uk.linux.org> based on util-linux fdisk, which was written at least partially by
A. V. Le Blanc <LeBlanc@mcc.ac.uk>.
This manual page was written for the Debian system by
Thorsten Glaser <tg@debian.org> but may be used by others.
BSD
October 2, 2010 BSD