I'm installing Linux Mint on an HP Laptop with Windows 7 for a dual boot
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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.
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.
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.
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.
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!
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.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.