LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-30-2004, 08:35 PM   #1
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Rep: Reputation: 15
Question Ghost and Linux


I've been setting up my new home workstation for the last week or so. I explored the possibilities of using RAID1 for the pc but had "issues" which now have made me reluctant to depend on it for backup/redundancy. I looked into partimage, but it seems that it would be a lot of work to backup six partitions with an image per partition...

I've used Ghost quite a bit over the last several years and I decided to try it. I cfdisk'd my second now unused raid1 disk and created one partition on it and then a FAT32 fs.

Now, this evening I "broke" my Debian Sid install :-(... I did something stupid as root (not rm -r /, but almost as dumb!). No boot. Kernel panic. No recover with boot disk or Knoppix. I then restored my Ghost image.

I finished the restore and rebooted and voila, it came up fine. Everything appears to be there and working, but there is an odditie. Here is the output of fdisk -l:

Disk /dev/sda: 18.3 GB, 18373349376 bytes
64 heads, 32 sectors/track, 17522 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 257 263152 83 Linux
/dev/sda2 258 2305 2097152 82 Linux swap
/dev/sda3 2306 4353 2097152 83 Linux
/dev/sda4 4354 17521 13484032 f W95 Ext'd (LBA)
/dev/sda5 4354 5378 1049584 83 Linux
/dev/sda6 5379 6403 1049584 83 Linux
/dev/sda7 6404 15472 9286640 83 Linux
/dev/sda8 15473 17521 2098160 83 Linux

If you notice, I now have /dev/sda4 which is my "extended partition" for the logical partitions. Fdisk -l used to just report sda1,sda2,sda3,sda5,sda6,sda7 and sda8. (You might also notice the "missing" cylinder at /dev/sda8)

Do I need to worry about it? Things seem to be working fine (I typing thins on the workstation in Mozilla right now) but I'm concerned. Do you think this is just a "marker" that Ghost left in the partition table or??? I'm using Ghost 2003 if that makes a difference?

Thanks in advance for your help!
 
Old 07-30-2004, 09:21 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,783

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Fdisk -l is doing what it's supposed to do: list the partitions. I notice that you first refer to cfdisk, then later fdisk. Read the man page on fdisk. The discussion states that there are differences in the quality and accuracy of the output of cfdisk, fdisk, and sfdisk. Switching from one to the other may account for the difference in output. So long as things are working OK, don't worry about it. You successfully dodged a bullet.
 
Old 07-30-2004, 09:28 PM   #3
robbow52
Member
 
Registered: Oct 2003
Location: Kentucky, USA
Distribution: Debian "SID"
Posts: 110

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by bigrigdriver
Fdisk -l is doing what it's supposed to do: list the partitions. I notice that you first refer to cfdisk, then later fdisk. Read the man page on fdisk. The discussion states that there are differences in the quality and accuracy of the output of cfdisk, fdisk, and sfdisk. Switching from one to the other may account for the difference in output. So long as things are working OK, don't worry about it. You successfully dodged a bullet.
Thanks! I have been using cfdisk to partition disks for a while instead of fdisk, but when I want to just "look" at the partition, I will run fdisk -l (fewer keystrokes :-)...)
 
Old 07-31-2004, 01:24 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
And if you really want that missing 1048576 bytes back you could resize that last partition. Most likely it will work (I have done it many times) but there is no guarantee.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ghost software : Linux Ghost server NL-Stitch Linux - Newbie 18 02-02-2007 10:55 PM
ghost linux drive ? xaeniac Linux - General 3 05-30-2005 06:36 PM
Linux and Ghost robbow52 Debian 1 07-30-2004 08:46 PM
best way to ghost linux? sross Linux - Newbie 17 06-30-2004 12:55 PM
Can i ghost Linux? Goll Linux - Newbie 20 12-17-2003 02:22 PM


All times are GMT -5. The time now is 07:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration