LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2012, 08:51 AM   #1
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110
Blog Entries: 4

Rep: Reputation: 0
Question formatting hard drive partition


I have got four partitions of my hard drive whose specifications are as follows

c: this partition has got windows 7 and linux mint 12 installed. the version of linux mint 12 is installed within Windows 7

d:
this partition has got linux mint 10 installed onto it.

e:
this drive stores my personal data

f:
this drive also stores important data other than programs, etc.

Now that I have installed newer version of linux mint(linux mint 12), I would like to get rid of Linux Mint 10 that is installed on d:

Can I do this by formatting d: and if Yes, kindly help me with the same.

the d: drive partition does not appear in windows 7 operating system(due to ntfs filesystem of windows 7 and ext4 filesystem of linux mint 10)
 
Old 01-14-2012, 10:19 AM   #2
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Post

Quote:
Originally Posted by Upendra Pratap Singh View Post
I have got four partitions of my hard drive whose specifications are as follows

c: this partition has got windows 7 and linux mint 12 installed. the version of linux mint 12 is installed within Windows 7
How can you have two OS installed in the same partition? I don't think I understand your partition scheme fully. Could you please type as root

Code:
 fdisk -l
and post the output.

Quote:
d:
this partition has got linux mint 10 installed onto it.

e:
this drive stores my personal data

f:
this drive also stores important data other than programs, etc.

Now that I have installed newer version of linux mint(linux mint 12), I would like to get rid of Linux Mint 10 that is installed on d:

Can I do this by formatting d: and if Yes, kindly help me with the same.

the d: drive partition does not appear in windows 7 operating system(due to ntfs filesystem of windows 7 and ext4 filesystem of linux mint 10)
Since you have installed Mint 12 now, the bootloader is probably managed by Mint 12. So, there should be no problems in just formatting the partition containing Mint 10. But, just make sure your you have backed up everything before you do anything about partitioning the HD.
 
Old 01-15-2012, 11:10 AM   #3
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
I cannot format the partition containing linux mint 10(d: drive) from windows environment since this partition does not show in windows 7 operating system. Can I format this drive from linux mint 12 environment since this drive(the one containing linux 10) is visible on linux mint 12 platform

Regards,

Upendra Pratap Singh

Last edited by Upendra Pratap Singh; 01-15-2012 at 11:17 AM.
 
Old 01-15-2012, 11:17 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
For clarity, please provide the information that nonamedotc asked for.

The partition that you are calling D should be shown by W7, regardless of the file system it has been formatted with. It will not be shown by Windows Explorer because it does not contain a file system that W7 recognises but it should be shown by Disk Manager (as it was called in WXP and may be called in W7).
 
Old 01-15-2012, 02:16 PM   #5
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
I got the following message on the terminal as per the instructions given.
the same output appeared whether I typed in linux mint 10(julia) terminal or linux mint 12(lisa) terminal.

Here "pramila" is the name of the root user

linuxmint pramila # fdisk 1
fdisk: unable to open 1: No such file or directory
linuxmint pramila # fdisk 2
fdisk: unable to open 2: No such file or directory
linuxmint pramila # fdisk 3
fdisk: unable to open 3: No such file or directory
linuxmint pramila # fdisk 4
fdisk: unable to open 4: No such file or directory
linuxmint pramila #
 
Old 01-15-2012, 03:58 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by nonamedotc View Post
How can you have two OS installed in the same partition?
It is called Wubi. Mint is installed into a container-file on the Windows partition.

Quote:
Originally Posted by Upendra Pratap Singh
I got the following message on the terminal as per the instructions given.
the same output appeared whether I typed in linux mint 10(julia) terminal or linux mint 12(lisa) terminal.

Here "pramila" is the name of the root user

linuxmint pramila # fdisk 1
fdisk: unable to open 1: No such file or directory
linuxmint pramila # fdisk 2
fdisk: unable to open 2: No such file or directory
linuxmint pramila # fdisk 3
fdisk: unable to open 3: No such file or directory
linuxmint pramila # fdisk 4
fdisk: unable to open 4: No such file or directory
linuxmint pramila #
You are getting the error messages because you have typed
Code:
fdisk 1
when the command given to you was
Code:
fdisk -l
It is a lowercase L, not the number one. The best way to run commands given to you is to use cut and paste to avoid such errors.
 
Old 01-15-2012, 04:37 PM   #7
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by TobiSGD View Post
It is called Wubi. Mint is installed into a container-file on the Windows partition.
Oh yeah ! I completely forgot about that! Thanks for pointing that out.
 
Old 01-18-2012, 07:30 AM   #8
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
I'm sorry to commit such a mistake.

Here I present the output to the given command. this command was typed in the terminal window of Linux Mint 12(lisa) platform.



pramila@linuxmint ~ $ su
Password:
linuxmint pramila # fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb7f65c10

Device Boot Start End Blocks Id System
/dev/sda1 2048 102402047 51200000 83 Linux
/dev/sda2 * 102402048 307202047 102400000 7 HPFS/NTFS/exFAT
/dev/sda3 307202048 512002047 102400000 7 HPFS/NTFS/exFAT
/dev/sda4 512002048 976771071 232384512 7 HPFS/NTFS/exFAT
linuxmint pramila #



Regards,

Upendra Pratap Singh
 
Old 01-18-2012, 08:29 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Which of /dev/sda1-4 is the drive you call D? It should be /dev/sda3 but it is important to be 100% sure that it is before formatting or deleting it!

Once you are sure you can either format the partition to delete all the files or you can delete the partition. Which do you prefer?
 
Old 01-19-2012, 11:40 AM   #10
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
I would like to format the partition so that it can be used to store personal data such as movies etc.

I also want this partition to be visible in windows 7 environment so that I can access its content through windows 7 operating system.

Regards,

Upendra Pratap Singh
 
Old 01-19-2012, 11:52 AM   #11
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Quote:
Originally Posted by Upendra Pratap Singh View Post
I would like to format the partition so that it can be used to store personal data such as movies etc.

I also want this partition to be visible in windows 7 environment so that I can access its content through windows 7 operating system.

Regards,

Upendra Pratap Singh
Well, that would be easy. You can format the partition as NTFS and have it counted at boot by adding an entry in /etc/fstab. If you boot into windows, it will mounted anyway.

Just make sure you have ntfs-3g installed in linux for you to be able to access the NTFS partition.
 
Old 01-19-2012, 12:43 PM   #12
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Then you will have to format it with a file system that is accessible by both Linux and Windows -- FAT32 or NTFS. FAT32, formatted from Windows is probably easiest.
 
Old 01-20-2012, 08:43 AM   #13
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
Can that partition(containing linux mint 10 julia) be formatted from linux Mint 12 environment. It is because this partition is not visible in Windows.

Tell me some command in linux that could do so.

Regards,

Upendra Pratap Singh
 
Old 01-20-2012, 09:23 AM   #14
Janus_Hyperion
Member
 
Registered: Mar 2011
Location: /
Distribution: Fedora (typically latest release or development release)
Posts: 372

Rep: Reputation: Disabled
Yes. You can. Just make sure Linux Mint 12 handles the GRUB before you touch other partitions. If not, you will have to deal with other problems later.

For formatting, I suggest using gparted. Very easy to use.
 
Old 01-20-2012, 11:38 AM   #15
Upendra Pratap Singh
Member
 
Registered: May 2011
Location: India
Distribution: Ubuntu 14.04
Posts: 110

Original Poster
Blog Entries: 4

Rep: Reputation: 0
Hi,

what is gparted? Is it a command or some software and please tell me how to use it.

How to ensure that Linux Mint 12 handles the GRUB. Please help me with this.

Regards,

Upendra Pratap Singh
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help formatting hard drive ziggyjoe21 Linux - Laptop and Netbook 6 07-03-2009 08:25 AM
Formatting this hard drive bellaterror Linux - Hardware 9 06-24-2006 10:00 AM
Formatting hard drive Sparkfist Linux - General 9 05-24-2006 09:18 PM
Hard-drive formatting kc0bus Linux - Newbie 5 07-02-2005 12:14 PM
Formatting Hard Drive baber_abbasi Linux - Software 2 01-04-2005 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:30 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration