Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help break down my barriers to Linux...
New Posts  All Forums:Forum Nav:

Help break down my barriers to Linux... - Page 3

post #21 of 32
Quote:
Originally Posted by erniv2 View Post

You want to have the os stuff from the sda2 to the sda1 partition ?

Like said do swapoff /dev/sda1

sudo gparted delete sda1 , create new sda1 chosse proper filesystem formate it.

mount /dev/sda1 > /media/sda1 "something like that"

after that you can do a tar copy wich 1 to 1 with all links and all.

tar cf - . | (cd /path/to/mountpoint; tar xf -) "in this suggested case /media/sda1"

after that do chroot /media/sda1 then you should do sudo update-grub to reinstall bootloader if all went right you can boot from sda1 now sda2 is pointless cause it is the exact copy you can do,

sudo gparted again remove sda2 and enlarge sda1 to hole disk size or size you want. like all disk space -1gb.

then you set a new sda2 partition with rest size make it swap and do swapon /dev/sda2 then you have a contingus filesystem from diskstart to allmost end in sda1 and 1gb sda2 for swap.

I sugesst this complicated method cause you only can resize partitions for 23 to > 230 not from 23 < to 1 it does not work in the other way it only works in one way as far i know, so the 23 gb would be free space untill you reinstall or move stuff to a new sda partiton .

Or if you fail this method you just reinstall and do a manual partitioning where you only choose 1-2gb for swap and rest for data.

no, the op does not want the data from sda2 to 1, just to reclaim the space. That is bad, bad advice. once the partition is resized all of the space will be available to the main install. ignore the warning and carry the operation out, at worst grub can't find the OS and you restore grub. Done it many times and it doesn't take long. I can give step-bystep for that if needed
post #22 of 32
Quote:
Originally Posted by jrl1357 View Post

no, the op does not want the data from sda2 to 1, just to reclaim the space. That is bad, bad advice. once the partition is resized all of the space will be available to the main install. ignore the warning and carry the operation out, at worst grub can't find the OS and you restore grub. Done it many times and it doesn't take long. I can give step-bystep for that if needed

You sure you can reclaim the disk space ?

What could work is resize and then reboot on a live cd and do update-grub but i´m not 100% positive about it.

I think resize only works number down not up, so it works from 23 to 24 but you cant resize from 24 to 23 can you ?
post #23 of 32
Yes, I've done it many times, resizing paritions works fine and without problem. Heck, I mirrored my 200gb home partition to my new 1tb and then added the other 800. The resizing from a livecd is both a must (can't resize a mounted parition) and exactly what I said. I don't want to sound like a jerk, but you really should have read a little more before posting.
post #24 of 32
Thread Starter 
Just reporting in that the resize worked! Thanks for the assistance! Now, the old swap partition of /dev/sda1 does not exist at all anymore. In my fstab though, it is still referenced:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc    /proc   proc    defaults        0       0
# /dev/sda1
UUID=8e3dc8d9-c5d1-4d0d-88b1-9e77fa05b616       swap    swap    sw      0       0
# /dev/sda2
UUID=5c402b2b-6dfa-4d15-9cd5-56a2e4e78d13       /       ext4    rw,discard,errors=remount-ro    0       1

Is that a problem? Can I just go ahead and entirely delete lines 5 and 6?
Cool'n'Quiet
(9 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-3770T Gigabyte GA-Z77X-UD4H GeForce GT 640 (fanless) Mushkin 2x 8GB DDR3 1600 CL8 
Hard DriveCoolingOSPower
Samsung 256GB 840 Pro SSD Noctua NH-U9B SE2 Linux Mint Debian Edition 201303 64-bit SeaSonic 400W 80+Platinum (fanless) 
Case
Corsair Obsidian 550D 
  hide details  
Reply
Cool'n'Quiet
(9 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-3770T Gigabyte GA-Z77X-UD4H GeForce GT 640 (fanless) Mushkin 2x 8GB DDR3 1600 CL8 
Hard DriveCoolingOSPower
Samsung 256GB 840 Pro SSD Noctua NH-U9B SE2 Linux Mint Debian Edition 201303 64-bit SeaSonic 400W 80+Platinum (fanless) 
Case
Corsair Obsidian 550D 
  hide details  
Reply
post #25 of 32
For simplicity sake and cleanliness of config files it is safe to remove the lines referencing the now gone swap partition.
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i7 920 D0 4.2ghz HT (1.3625v) Asus R3E 2xGTX 460 (non SLi, no overclock) 6x2gb G.skill @ 6-8-6-24-1T 
Hard DriveOptical DriveOSMonitor
WD-VR 300GBx1, 2xWD 1tb,2x60gb Agility Some crappy combo burner... Arch x64 3xDell U2410f rev A02 
KeyboardPowerCaseMouse
X-Armor U9BL TT Toughpower 1200w (NTB more efficient) Mountain Mods Pinnacle 24 CYO Roccat Kone (R.I.P. A4Tech x7) 
Mouse Pad
Steelpad Experience I-1 
  hide details  
Reply
post #26 of 32
Thread Starter 
Thanks for all the help guys, pretty much all questions/issues I have encountered are solved! biggrin.gif

Except for two final things, which I suspect may specifically relate to LMDE. I made a thread about it on the LMDE forums here. Here's an excerpt of the issue:
Quote:
Originally Posted by Me 
First of all, sometimes when I turn on my PC and log into my account, the desktop icons are just missing, and right clicking on the desktop itself does not bring up any menu. This does does not happen every time, and when it does happen, rebooting fixes it.

The second issue I have seems to be related to using a multi-monitor configuration. I have an Nvidia GT 640 graphics card, and I have the 304.48 Nvidia drivers installed from Synaptic. I have three monitors plugged in, and this works great, except for one thing. When the computer locks, moving the mouse does not bring up the screen to enter my password and unlock. Instead, the leftmost screen turns blue, and the two right screens continue showing the black screensaver with the date and time in the upper corners.

I can blindly type my password and hit enter, which unlocks and everything comes back to normal, but it's really annoying to not have the proper unlock screen because it is very ugly.

Does anybody here know about these issues or how to fix them?
Cool'n'Quiet
(9 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-3770T Gigabyte GA-Z77X-UD4H GeForce GT 640 (fanless) Mushkin 2x 8GB DDR3 1600 CL8 
Hard DriveCoolingOSPower
Samsung 256GB 840 Pro SSD Noctua NH-U9B SE2 Linux Mint Debian Edition 201303 64-bit SeaSonic 400W 80+Platinum (fanless) 
Case
Corsair Obsidian 550D 
  hide details  
Reply
Cool'n'Quiet
(9 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-3770T Gigabyte GA-Z77X-UD4H GeForce GT 640 (fanless) Mushkin 2x 8GB DDR3 1600 CL8 
Hard DriveCoolingOSPower
Samsung 256GB 840 Pro SSD Noctua NH-U9B SE2 Linux Mint Debian Edition 201303 64-bit SeaSonic 400W 80+Platinum (fanless) 
Case
Corsair Obsidian 550D 
  hide details  
Reply
post #27 of 32
^ the first one sounds like a problem with the file manager. Did you change any of the startup programs list or anything related to caja, nemo or nautilus in gconf/mateconf?
post #28 of 32
I dont know but 304 drivers seem old. Im using 310.40 but I install from nvidia not synaptic
post #29 of 32
Thread Starter 
Quote:
Originally Posted by jrl1357 View Post

^ the first one sounds like a problem with the file manager. Did you change any of the startup programs list or anything related to caja, nemo or nautilus in gconf/mateconf?
Nope... according to a reply on the LMDE forum, it is a known bug and the icons will appear after opening nemo...
Quote:
Originally Posted by particleman72 View Post

I dont know but 304 drivers seem old. Im using 310.40 but I install from nvidia not synaptic
I tried to install the drivers from Nvidia but it seemed much more complicated, and I couldn't figure out how to exit out of the desktop environment as the installation required. What exactly do I need to do to install the latest ones? And now that I have 304.48, do they need to be uninstalled first, or will new ones overwrite them?
Cool'n'Quiet
(9 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-3770T Gigabyte GA-Z77X-UD4H GeForce GT 640 (fanless) Mushkin 2x 8GB DDR3 1600 CL8 
Hard DriveCoolingOSPower
Samsung 256GB 840 Pro SSD Noctua NH-U9B SE2 Linux Mint Debian Edition 201303 64-bit SeaSonic 400W 80+Platinum (fanless) 
Case
Corsair Obsidian 550D 
  hide details  
Reply
Cool'n'Quiet
(9 items)
 
  
CPUMotherboardGraphicsRAM
Core i7-3770T Gigabyte GA-Z77X-UD4H GeForce GT 640 (fanless) Mushkin 2x 8GB DDR3 1600 CL8 
Hard DriveCoolingOSPower
Samsung 256GB 840 Pro SSD Noctua NH-U9B SE2 Linux Mint Debian Edition 201303 64-bit SeaSonic 400W 80+Platinum (fanless) 
Case
Corsair Obsidian 550D 
  hide details  
Reply
post #30 of 32
To exit from the desktop you can kill the login manager
Code:
sudo killall mdm
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Help break down my barriers to Linux...