LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-02-2009, 03:52 AM   #1
sandyarod
LQ Newbie
 
Registered: May 2006
Posts: 1

Rep: Reputation: 0
How can you have dual boot - Linux and Windows Vista Ultimate


My HDD on my laptop has not been partitioned. How can I without losing data install linux...
 
Old 01-02-2009, 04:08 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Generally speaking Defrag you're Vista drive first .
It also depends on you're Vista version how to proceed.
Shrink you're HD to make room for Linux
Install Linux on free space.
But this question is ask in past several times , so please search this forum too for exact answer
 
Old 01-02-2009, 06:16 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by sandyarod View Post
My HDD on my laptop has not been partitioned. How can I without losing data install linux...
Welcome to LQ!

Your laptop hdd has been partitioned initially by a M$ or second source program to setup the 'M$ Vista'. I would use the 'M$ Vista' disk management tools to first defragment your hdd then use the disk management tools to shrink your install size. Most vendors do provide a recovery partition so you should be aware of that.

Once you have space available to do a GNU/Linux install then just use the Distribution Install CD/DVD. You can then use 'cfdisk' or 'fdisk' to prepare partitions for the install. Once you setup the partitions, I like to re-boot to make sure the kernel partition table is updated. I would then create a filesystem(s) on the partition(s) before a install by using;

Code:
~#mkswap -c /dev/your_device_partition   #sda1,2,3,4 or hda1,2,3,4
~#mke2fs -c -L Linux -j /dev/your_device_partition #create filesystem
The first command will make a swap partition on the designated device which could be on '/dev/hda2' or whatever your device is.

The second command will create a ext3 (-j) filesystem with the label (-L) 'Linux' on the device first checking bad blocks (-c) on your_device_partition which could be 'dev/hda3'.

My reasoning is to insure that the hdd space is not corrupt therefore the install space will be acceptable.

Most modern distributions will setup the system for you.

BTW, the commands are linked to linuxmanpages.com a good online 'man'.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 01-02-2009, 06:48 AM   #4
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
This may help.

http://apcmag.com/howto_category.htm?cid=198

If you want to avoid problems in booting, you must use Vistas own partitioning tool to change its partition and create free space for linux, being mindful of any hidden partitions. You might use a Partition Magic or GParted live-cd to check and then to partition the free space, as this can be easier for a beginner than doing so under an installation.

If you have installed Vista SP1, you should be able to make a Vista rescue and repair cd. It will be very useful if anything goes wrong. Remember to back up everything.

Good Luck and Welcome to linux.
 
Old 01-02-2009, 01:21 PM   #5
Pip
LQ Newbie
 
Registered: Dec 2006
Location: China
Distribution: Arch & Slackware
Posts: 9

Rep: Reputation: 0
You haven't partitioned your HDD and you don't want to lose data when installing linux. So I think you don't want to partition the disk do you ? If so, then either you can install linux on the rest of free space which probably hasn't been partitioned yet on your disk OR you just need to use an existent partition with unimportant data to install linux.
Anyway, you have to get a swap partition and at least a root partition(/) to get your linux installed. So that means at some point you have to partition your disk a bit to your necessary needs.
Well, I'm assuming that you have Vista installed already. Then what you need to do is choose a windows partition with unimportant data, or just backup the important data before format it with linux filesystem.

Another solution is you can use wubi(google it please) to install linux on Window, try it : )
 
Old 01-03-2009, 07:34 AM   #6
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,
Quote:
Originally Posted by Pip View Post
You haven't partitioned your HDD and you don't want to lose data when installing linux. So I think you don't want to partition the disk do you ? If so, then either you can install linux on the rest of free space which probably hasn't been partitioned yet on your disk OR you just need to use an existent partition with unimportant data to install linux.
Anyway, you have to get a swap partition and at least a root partition(/) to get your linux installed. So that means at some point you have to partition your disk a bit to your necessary needs.
Well, I'm assuming that you have Vista installed already. Then what you need to do is choose a windows partition with unimportant data, or just backup the important data before format it with linux filesystem.

Another solution is you can use wubi(google it please) to install linux on Window, try it : )
Sorry, but the 'M$ Vista' install will setup the hdd with partitions. The first is generally the OS install with the second being a smaller recovery partition. Most vendors provide this method of recovery over a second recovery cd/dvd for a Vista based machine.

The OP will have to defragment the 'Vista' drive/partition then resize to allow a install of another OS. Most vendors don't provide additional physical drives unless you pay for them. As the OP is using a laptop then my bet is on a single hdd.

I still suggest that the 'Vista' user utilize the 'disk management' tools to perform the required task(s). You will find that less problems will be likely then when attempting to use outside tools.
 
  


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
[Help] Windows Vista and OpenSuse 10.3 Dual Boot edgartech SUSE / openSUSE 11 02-15-2008 11:23 AM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 07:21 PM
Trying to dual boot Vista Ultimate/Fedora 6.0--Install Problems SlashAxlX Fedora - Installation 1 03-22-2007 01:38 PM
How to install Slackware 10.2 beside windows Vista - Ultimate? DdOs Slackware - Installation 4 03-09-2007 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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