LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-27-2014, 12:22 AM   #16
Soapm
Member
 
Registered: Dec 2012
Posts: 182

Rep: Reputation: Disabled

See if you have gparted installed. It should be self explanatory if you're using a gui version of that program. Or you can download the live cd of gparted and it will do the job.

Sorry I didn't read the entire thread.
 
Old 11-27-2014, 12:51 AM   #17
njdevils9
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Post

Quote:
Originally Posted by EDDY1 View Post
My apologies I misread your post or should I say didn't read into it enough & made a statement too hastily.
A view of my HDD and its partitions via GParted..
Attached Thumbnails
Click image for larger version

Name:	GParted.png
Views:	19
Size:	43.3 KB
ID:	16943  
 
Old 11-27-2014, 03:47 AM   #18
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
As it shown at picture, if you don't want to repartition your drive, the only way to get a space for Kali is moving /home content to sda3. After that you can re-format sda6 and install Kali there.
 
Old 11-27-2014, 04:10 AM   #19
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
You need to run it from live-cd you can't do it from a running system. Also take note of the yellow flag on /dev/sda2, you need to run Chkdsk on it from windows
 
Old 11-27-2014, 11:53 PM   #20
njdevils9
LQ Newbie
 
Registered: Aug 2014
Posts: 9

Original Poster
Rep: Reputation: Disabled
Can I just move /sda4 to my /sda3 since /sda4 is like a main directory
and my swap and home partitions (/sda5 and /sda6) are subdirectories.
Then I would have the ability to create one more partition and use
that to install Kali on it.. If so can I use the steps in this
website???
http://www.maketecheasier.com/move-home-folder-ubuntu/

Sorry, I am more of a visual person and need to see how to do
something or else I'll screw everything up unless I am given specific
detailed instructions..

Also, I ran chkdsk and "repaired" the errors and the yellow flag is still there..
 
Old 11-28-2014, 12:01 AM   #21
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
That's not necessary. If you follow the instrctions I posted earlier you will be able to install within the Extended partitions. But use gparted-live-cd/usb to do the job.

Last edited by EDDY1; 11-28-2014 at 12:03 AM.
 
Old 11-28-2014, 08:29 AM   #22
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,446

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
Can I just move /sda4 to my /sda3 since /sda4 is like a main directory
No. sda4 is a primary partition being used as an Extended partition which shows in your GParted image. Extended partitions do not contain data but contain logical partitions, in your case sda5 and sda6. You can move the data in your /home partition (sda6) to the / partition (sda3) then use the sda6 partition to install a new OS. This was suggested above and would probably be the simplest. There are other options but part of the problem is that shrinking sda2 won't help as you already have four primary partitions and to expand a partition, the unallocated space needs to be contiguous and your Extended partition has the / partition (sda3) between it (sda4) and the enormous windows partition (sda2).

Last edited by yancek; 11-28-2014 at 08:32 AM.
 
Old 11-28-2014, 10:48 AM   #23
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
The unallocated space between sda2 & sda3 can be incorporated into the Extended partition it just takes a little manipulatinon to get it done.
 
Old 11-28-2014, 12:44 PM   #24
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,446

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
The unallocated space between sda2 & sda3 can be incorporated into the Extended partition it just takes a little manipulatinon to get it done.
Don't see how since partitions need to be contiguous and the / filesystem is between the Extended and windows partition. Also, at present that is only 1MB which won't help. Your suggestion in post #6 above would work but the other suggestion someone posted earlier to just copy the data from his home partition to the / partition would seem a lot easier, particularly for someone without much experience. This would still leave the OP with about 10GB of free space on the partition and the former home partition on which to install the new system.

Last edited by yancek; 11-28-2014 at 04:18 PM.
 
Old 11-28-2014, 03:08 PM   #25
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Read my instructions in post #6
 
Old 11-28-2014, 04:22 PM   #26
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,446

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
Read my instructions in post #6
I did and said in my previous post that I thought that would work. Mistakenly indicated post #3 instead of post #6. It would still be much simpler to copy the files to sda3 from the home partition, especially for someone who has apparently little experience as it would involve moving not just the partitions but the data and the / partition and its boot files would be moved and I indicated in an earlier post, would then require chrooting to modify the boot files as the sector on which the Grub files are would obviously be moved.
 
Old 11-28-2014, 04:49 PM   #27
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
It would still be much simpler to copy the files to sda3 from the home partition, especially for someone who has apparently little experience as it would involve moving not just the partitions but the data and the / partition and its boot files would be moved and I indicated in an earlier post, would then require chrooting to modify the boot files as the sector on which the Grub files are would obviously be moved.
Actually I had a problem with systemd & my /usr partition. Systemd doesn't like seperate /usr. So I had to move /usr to /. Just copying the data to / doesnt work, it ignores certain directories
Here's a link to my post which I forgot to mark solved & explain what I did.
http://www.linuxquestions.org/questi...en-4175517426/
Anyway I had to mount my partitions from live-cd
mkdir /usr2
cp /usr /usr2
rename usr2 to /usr
edit fstab
reboot
Even tho it's easy now to do it, that is a lot harder than using gparted-live
select a partition
select move/resize
put mouse in center of the partition & drag it left.
The only partition you can't drag is the extended, which you just grab the left side of the partition & expand it to the left.
The uuid for / doesn't change so no rescue necessary.

Also I just want to say that I know that you know what you're doing when it comes to computers & all of your information is great, so anything I have said in this thread is not a personal attack. In most cases, I only offer advice for things which have worked for me.
So please accept my apologies.
 
Old 11-28-2014, 05:19 PM   #28
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by EDDY1 View Post
Actually I had a problem with systemd & my /usr partition. Systemd doesn't like seperate /usr. So I had to move /usr to /.
Sorry for offtop, it might be interesting for you:
http://forums.gentoo.org/viewtopic-t-901206.html
 
Old 11-28-2014, 08:12 PM   #29
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by Teufel View Post
Sorry for offtop, it might be interesting for you:
http://forums.gentoo.org/viewtopic-t-901206.html
No I fix my Problem by moving it to/
 
Old 11-28-2014, 09:18 PM   #30
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,446

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Quote:
anything I have said in this thread is not a personal attack.
No problem, I didn't take anything as personal so no apology necessary. I don't know why copying the /home directory from its partition to the / partition would not work or why you had a problem with your /usr partition. I copied the entire / filesystem to a new partition on a different drive and it booted after modifying Grub. The only problem I wonder about in the situation described by the OP is resizing and moving data to the left thus changing the sector location where Grub looks for its boot files. This is referenced at the GParted site at the link below, the image under number 5 in the resizing tutorial. I'm not inclined to test this on my machines so we'll wait for the OP to return and see what happened.

http://gparted.org/display-doc.php?n...een-partitions
 
  


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
Partioning a single partition into multiple partitions. Grtyop Linux - Newbie 4 07-05-2013 03:28 PM
How to move unused windows partition to linux partition? aribowo SUSE / openSUSE 3 05-28-2007 11:51 PM
move xp partition for linux davidleroux1 Linux - Software 4 11-27-2004 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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