Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page Linux Partitioning, A nightmare after reformat!!!!!!
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 07-04-2008   #1 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 22
Linux Partitioning, A nightmare after reformat!!!!!!

Hi guys, ok I just cannnot understand how Linux Partitons work, can someone explain this to me please. Heres what I have

1 x 20Gb / ext3 partition
1 x 2Gb swap ext3 partition
1 x 15Gb /home ext3 partition

Ok so this is how it should work, anything you copy into the /home partition
will not be deleted if you dont reformat that partition correct?
So I format only the 20Gb / ext3 partition which automatically decides it wants to format the Swap partition aswell, but we leave the /home partition alone (hoping any files i have in that will still be there after a reformat).
So now I reformat just those 2 partitions. It finishes, I reboot and check my /home partition after the reformat has completed and are my files still there? Noooooooo, they have been deleted. Why!!!!!!!!!!! I didnt reformat the /home partition. What am I doing wrong?
Tezux is offline   Reply With Quote
Old 07-04-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Post the output of fdisk -l command here.
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 07-07-2008   #3 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 22
I have added an extra drive aswell now and tried again and again but still erases my /home partition??????? Heres the output of fdisk -l

Weird, why does it not have my /home partition there, why does it do that?

bian:/home/tez# fdisk -l

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 4865 39078081 83 Linux

Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 1 4863 39062016 83 Linux
/dev/hdb2 4864 5106 1951897+ 82 Linux swap / Solaris
/dev/hdb3 5107 9729 37134247+ 83 Linux

I cant understand this Linux Partitioning structure, soo weird?
Tezux is offline   Reply With Quote
Old 07-07-2008   #4 (permalink)
Linux User
 
Join Date: Oct 2007
Location: Tucson AZ
Posts: 400
Have you had it installed and working? Why are you re-formatting? What tool are you using to format? I assume you are referring to drive hdb? Which partition is root and which is home?
yancek is offline   Reply With Quote
Old 07-07-2008   #5 (permalink)
Just Joined!
 
Join Date: Mar 2008
Posts: 22
Yeh my Linux Box works perfectly but I am just trying to figure out why after each time a reformat is done, the /home partition keeps getting ereased even though I dont reformat that partition.
I have reformatted over and over again just so I can figure out how to keep the /home partitons data and that I know it works before I install my data and wont lose it again if I reformat.
I am just using the Debian 4.013 DVD to do the format, u know just in the partitoning section.
Yes hdb is the drive. Just ignore hda for now, thats just a seperate drive i was going to use for storage for other stuff.
Good question, after it reformats it no longer says which partiton is which except the Swap, weird?
hdb1 is root and hdb3 is /home (well it used to be until the reformat i guess?)

Thanks for your help so far
Tezux is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 04:30 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0