LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-09-2010, 01:51 AM   #1
2cen
Member
 
Registered: Mar 2010
Location: Florida
Distribution: Linux Mint
Posts: 34

Rep: Reputation: 0
Smile I'm installing Linux Mint on an HP Laptop with Windows 7 for a dual boot


I got to the part where I'm supposed to partition Mint. I've got a 500GB hard drive, and I thought I'd give 300GB to LM--but I'm unclear about using ext2, 3 or 4. What about the swap file? Is that automatic?

Thanks,

2cen
 
Old 03-09-2010, 01:58 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
I have never personally installed Mint, do I don't know if it will automatically create a swap partition, but I would assume not. It might prompt you if you would like to make one, but I don't think it is going to add another partition to the drive without asking you first.

As for the filesystem, EXT2 is very old and is really only included for backwards compatibility, the modern versions are EXT3 and EXT4. EXT4 is still a bit experimental as it was only recently added to the stable kernel; if you are worried about possible data loss or compatibility issues, you would be safer sticking with EXT3 for awhile.
 
1 members found this post helpful.
Old 03-10-2010, 06:18 AM   #3
2cen
Member
 
Registered: Mar 2010
Location: Florida
Distribution: Linux Mint
Posts: 34

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by MS3FGX View Post
I have never personally installed Mint, do I don't know if it will automatically create a swap partition, but I would assume not. It might prompt you if you would like to make one, but I don't think it is going to add another partition to the drive without asking you first.

As for the filesystem, EXT2 is very old and is really only included for backwards compatibility, the modern versions are EXT3 and EXT4. EXT4 is still a bit experimental as it was only recently added to the stable kernel; if you are worried about possible data loss or compatibility issues, you would be safer sticking with EXT3 for awhile.
Thanks MS3FGX! That's very helpful.
 
Old 03-10-2010, 06:42 AM   #4
pierre2
Member
 
Registered: May 2009
Location: Perth, AU
Distribution: LinuxMint
Posts: 339
Blog Entries: 8

Rep: Reputation: 74
Mint will create a /swap & a /root automatically.

you might also want to manually create a extra partition for /home <your data>.
format the /home & the /root as ext3 & /swap as swap.

Or, just let the installer do it's thing with the one partition,
that you have resized from the C: drive.

BTW - after your have resized the C: drive, reboot back into win7,
so it can check the C: drive filesystem.
then boot from the Mint cd ....

Last edited by pierre2; 03-10-2010 at 06:45 AM.
 
1 members found this post helpful.
Old 03-10-2010, 07:56 AM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,742

Rep: Reputation: 196Reputation: 196
Just in case...

You might try to use the Win 7 disk tool to shrink the Win 7 partition before beginning to install Mint, creating a cleared space for Mint and note where the space begins. Some of those new to linux have been confused by GParted and inadvertently partitioned their whole HDD. Having a ready space will make it easier to avoid a mistake.

You might use Mint as a live-cd or a copy of a partitioning live-cd such as PartedMagic to look at your Win 7 partition table with the command "fdisk -l" in order to see how Win 7 is installed before you do anything. Win 7 can be installed on several partition, and your HDD has a four partition limit.

If you have only one or two partitions available and need more than that, first partition the space for linux as an extended partition. Within that, use logical partitions for your linux partitions.

Remember to look carefully at what GParted proposes and explore the options that are presented. You can always abort the process and start again, learning as you go and getting the results you want.

http://linux.about.com/cs/linux101/g...ded_partit.htm

Good Luck

Last edited by thorkelljarl; 03-10-2010 at 08:02 AM.
 
1 members found this post helpful.
Old 03-10-2010, 08:45 AM   #6
fair_is_fair
Member
 
Registered: May 2005
Posts: 511

Rep: Reputation: 51
It might be best to resize and partition the hard drive from within windows 7. Windows will, most likely, not shrink the drive enough for you, from my experience. Gparted would not handle the job last time I tried.

Defrag windows and install a free partition manager from the link below. I would suggest making the mint root(/) partition 50 gigs or so. Make a 2 gig swap partition. Make a data partition for linux any size you like or make it a "home" partition if you like. This enables reinstalls without compromising data.

Your laptop will have a recovery partition for windows 7 and it could be the first one of 10 to 30 gigs. You might want to leave it intact.

http://fileforum.betanews.com/search...tition&x=0&y=0
 
1 members found this post helpful.
Old 03-10-2010, 04:33 PM   #7
jefro
Guru
 
Registered: Mar 2008
Posts: 11,969

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
I think you should start with a virtual machine. Almost no way to bork your W7 install and you'd be able to run both at the same time. Your system would most likely support VT technologies and run linux at native speeds in the VM. You can change your OS as often as you change socks or girlfriends or whatever.

Last edited by jefro; 03-10-2010 at 04:35 PM.
 
1 members found this post helpful.
Old 03-12-2010, 06:53 PM   #8
2cen
Member
 
Registered: Mar 2010
Location: Florida
Distribution: Linux Mint
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pierre2 View Post
Mint will create a /swap & a /root automatically.

you might also want to manually create a extra partition for /home <your data>.
format the /home & the /root as ext3 & /swap as swap.

Or, just let the installer do it's thing with the one partition,
that you have resized from the C: drive.

BTW - after your have resized the C: drive, reboot back into win7,
so it can check the C: drive filesystem.
then boot from the Mint cd ....
Thanks, pierre! I've got my work cut out.
 
Old 03-12-2010, 06:57 PM   #9
2cen
Member
 
Registered: Mar 2010
Location: Florida
Distribution: Linux Mint
Posts: 34

Original Poster
Rep: Reputation: 0
Cool

Quote:
Originally Posted by thorkelljarl View Post
Just in case...

You might try to use the Win 7 disk tool to shrink the Win 7 partition before beginning to install Mint, creating a cleared space for Mint and note where the space begins. Some of those new to linux have been confused by GParted and inadvertently partitioned their whole HDD. Having a ready space will make it easier to avoid a mistake.

You might use Mint as a live-cd or a copy of a partitioning live-cd such as PartedMagic to look at your Win 7 partition table with the command "fdisk -l" in order to see how Win 7 is installed before you do anything. Win 7 can be installed on several partition, and your HDD has a four partition limit.

If you have only one or two partitions available and need more than that, first partition the space for linux as an extended partition. Within that, use logical partitions for your linux partitions.

Remember to look carefully at what GParted proposes and explore the options that are presented. You can always abort the process and start again, learning as you go and getting the results you want.

http://linux.about.com/cs/linux101/g...ded_partit.htm

Good Luck
Thanks, thorkelljarl! This gives lots of room for thought and planning.
I think I can manage. Lots of good ideas. I'm glad I didn't just bumble ahead as my usual want. Thanks!
 
Old 03-12-2010, 06:59 PM   #10
2cen
Member
 
Registered: Mar 2010
Location: Florida
Distribution: Linux Mint
Posts: 34

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fair_is_fair View Post
It might be best to resize and partition the hard drive from within windows 7. Windows will, most likely, not shrink the drive enough for you, from my experience. Gparted would not handle the job last time I tried.

Defrag windows and install a free partition manager from the link below. I would suggest making the mint root(/) partition 50 gigs or so. Make a 2 gig swap partition. Make a data partition for linux any size you like or make it a "home" partition if you like. This enables reinstalls without compromising data.

Your laptop will have a recovery partition for windows 7 and it could be the first one of 10 to 30 gigs. You might want to leave it intact.

http://fileforum.betanews.com/search...tition&x=0&y=0
Good idea, fair_is_fair! I've got partition magic, so I should be able to accomplish that!
 
Old 03-12-2010, 07:35 PM   #11
2cen
Member
 
Registered: Mar 2010
Location: Florida
Distribution: Linux Mint
Posts: 34

Original Poster
Rep: Reputation: 0
Cool

Quote:
Originally Posted by jefro View Post
I think you should start with a virtual machine. Almost no way to bork your W7 install and you'd be able to run both at the same time. Your system would most likely support VT technologies and run linux at native speeds in the VM. You can change your OS as often as you change socks or girlfriends or whatever.
Thanks, Jefro for the suggestion.

And thanks everyone for the wealth of information! This is greatly appreciated!

2cen
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sabayon Live CD wont boot on Notebook Dual Booting Windows and Mint atomn Linux - Software 1 10-31-2009 08:05 PM
Dual boot Lenovo laptop with Windows XP and Fedora Linux dhanukvj Linux - Laptop and Netbook 3 08-18-2009 02:24 PM
Dual Boot Linux/Windows on Laptop vezril Linux - Software 2 03-08-2006 05:18 PM
Installing Linux on a Dual-Boot Laptop asdfjkl Linux - Laptop and Netbook 3 08-28-2004 04:37 PM


All times are GMT -5. The time now is 11:51 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