Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help syntax to restore partition from ftp Post 302676977 by gull04 on Wednesday 25th of July 2012 11:08:00 AM
Old 07-25-2012
Hi,

First just a quick bit of site etiquette, please use code tags - it makes things easier to read.

Now the problem, does the live CD actually know about the partition table? And what if any errors are you getting?

Regards

Dave
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies

2. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

3. HP-UX

Syntax problem with Unix ftp get command

An outside vendor has staged 2 batch files for us and I've tried to retrieve the files using the commands that they've indicated I could use to retrieve one file at a time. I've tried using this command in a shell script after a successful connection to their server: get "$$ ID=IL096869 BID='PGP... (2 Replies)
Discussion started by: mheinen
2 Replies

4. UNIX for Dummies Questions & Answers

FTP - switching user syntax

Running the following shell script, #!/usr/bin/ksh set -x swdofile=/opt/SWDO_IN1V01P001_1.csv USER='myusername' PASSWD='mypassword' HOST='myhostname' ftp -n $HOST << SCRIPT quote USER $USER quote PASS $PASSWD su - BRA -c put $swdofile quit SCRIPT exit 0 but not managing to get the... (1 Reply)
Discussion started by: daveaasmith
1 Replies

5. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

6. UNIX for Dummies Questions & Answers

User ID syntax to FTP to Windows

Hello, I have searched the forums and may not be putting in the right keywords, but hopefully someone will be kind enough to help... It's been awhile since I've ftp'd to a Windows server, but no matter how I try to connect, it will not let me, although I have no issues setting up a connection... (1 Reply)
Discussion started by: tekster757
1 Replies

7. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

8. Shell Programming and Scripting

Help Simple FTP Script Here Syntax

I have a list of IP address and want to be assess whether FTP is allowing FTP access. I don't want to use lousy NT shell, but cannot get the syntax down on this. ftphosts.txt is a simple list of IP adresses. I want to iterate through the IPS and do a simple ftp IPadress user ftp password... (15 Replies)
Discussion started by: gdotoli
15 Replies

9. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

10. Red Hat

Shrink LVM partition & create new Linux Primary partition

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
PART(8) 						      System Manager's Manual							   PART(8)

NAME
part - partition table editor SYNOPSIS
part [device] ... DESCRIPTION
Part is a screen oriented partition table editor. While editing you will see six lines of numbers, the first line shows the device name and its geometry (number of cylinders, heads and sec- tors), the second shows the start and end of the drive or partition you are working on, the last four lines show the different partitions or subpartitions. All numbers except those on the second line can be edited. Question marks are showed instead of numbers if the parti- tion table is not loaded yet. You have to select a device and type 'r'. Editing is a simple matter of moving around with the arrow keys and changing the values with + and - (or PgUp and PgDn), or by typing the desired value. The '?' key will give a small list of commands, the '!' key gives advice on how to make a new entry. The spacebar toggles between showing the size of the partition and the last sector on the partition. Useful to check if a partition is adjacent to the next. The 'm' key is "magical", it lets you cycle through a set of interesting values for the base or size of a partition. These values are: Aligned to a cylinder, taped to other partitions (inside or outside), or filling out holes. Use this key! Minix subpartition tables or extended partitions may be edited after hitting the '>' key. The number of this partition will be shown after the device name on the second row, e.g. /dev/hd0:2. Minix subpartition tables are shown as is, but extended partition bases are trans- lated to absolute offsets on the screen to hide the gory details of their implementation from the innocent user. (Hit 'p' if you dare.) The '<' key will bring you back to the enclosing partition table. With arguments, part will use the given devices or files. Without arguments, part will use all interesting block devices in /dev sorted by device number and starting with /dev/hd0. Values that are out of range, overlapping, or otherwise strange are shown in reverse video. Values that may possibly be a problem for operating systems other then Minix are shown in bold characters. The name of the device is highlighted when it has not been read yet. Head or sector numbers are highlighted if the partition does not start or end at a cylinder boundary. The base and/or size field is highlighted if they fall outside the device, if they are inside some other partition, if the base equals the device's base (no room for the boot sector), or if the size is zero. Part complies with the good old UNIX tradition of trusting the user. It will write any table, no matter how bad. You have been warned. By the way, as far as Minix is concerned there is absolutely no reason to make partitions start precisely on a cylinder or track nor does it have to be an exact number of cylinders long. Minix only looks at the base and size of a partition, the geometry of the drive doesn't have to be correct. Other Operating systems can be very picky about partitions that are not aligned. Some partition editors may refuse to edit a table, others may even make a mess of the table. The only exception is the first partition, it traditionally starts on the first track, not the first cylinder. All editors must understand this. (Subpartition tables are Minix specific, so there is no reason at all for any alignment.) Extended Partitions Extended partitions are a mess that is only made slightly better by part by translating the base offsets to absolute numbers. It is better to use DOS fdisk to create them, but if you insist on using part then this is what they should look like: The extended partition entry in the primary partition table must cover the whole logical partition space within it. The area thus created is split in segments, each segment contains a partition table in sector 0 and one (just one) logical parti- tion. The first entry of a segment's partition table describes this logical partition: it's partition ID, base and size. The second entry is an extended partition that describes base and size of the next segment (partition table and logical partition). The last segment's partition table is empty, or contains one logical partition. SEE ALSO
fd(4), hd(4). BUGS
You can have a table read, messed up, and written in no time, be careful. You can't type head or sector numbers directly. Sectors are counted from 0 for consistency, but the partition table counts from 1 like DOS addresses them. Most confusing. You can't write a backup copy to a file, that's what dd(1) with count=1 is for. AUTHOR
Kees J. Bot (kjb@cs.vu.nl) PART(8)
All times are GMT -4. The time now is 11:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy