Debian Installation :: Removing Windows From First Partition
Jan 1, 2011
My hard drive is partitioned fairly simply, with two primary partitions, one for Windows and one for Debian Squeeze.How can I remove sda1 and make it so that Debian takes up the whole disk on one large partition without reinstalling?I have downloaded and burnt the gparted live cd, but I daren't go any further without some hand holding.
View 11 Replies
ADVERTISEMENT
May 16, 2011
I installed an old version on accident, I used an encrypted LVM. When I removed the old debian and started the installation of the new version, the encrypted partition could not be used to install, and the drive itself was creating an error message when I tried to mount the installation there. This is probably a vague explanation of what is happening, but does anyone know how to remove these encrypted LVM partitions?
View 2 Replies
View Related
Jan 17, 2015
I am having issues with Grub 2 after installing Debian 7.8.0.The computer is a HP Pavilion 500-307nb. I made the original harddrive /dev/sdb and inserted a Samsung Evo 840 as /dev/sda. From the original hard drive (/dev/sdb), I wiped the windows partition, but left all other partitions unchanged (in case I would ever want to recover the desktop to its original state). I replaced the wiped windows partition with a swap partition and an LVM partition.These are my hard drive partitions:
/dev/sda (Samsung Evo 840)
Number Start End Size File system Name Flags
1 1049kB 3146kB 2097kB primary bios_grub
2 3146kB 944MB 941MB ext4 boot
3 944MB 94.4GB 93.4GB host lvm
4 94.4GB 1000GB 906GB guests lvm
[code]....
The partition /dev/sda3 has 2 logical volumes with filesystem ext4 that I mount to / and /home.The partition /dev/sda2 is mounted to /boot..When I install like this, Debian installs fine, however Grub2 is not installed correctly.Debian installs grub-pc which seems not able to boot the gpt partition. So I boot the Debian CD in rescue mode and execute:
mount /dev/sda2 /boot
aptitude purge grub-pc
aptitude -y install grub-efi
After rebooting, I come in the grub rescue shell, which says: error: no such device: 986f2176--4a4b-4222-83b9-8636a034b3c7.
When I then enter in the grub rescue shell:
set boot=(hd0,gpt2)
set prefix=(hd0,gpt2)/grub
insmod normal
normal
Grub and Debian start up correctly.why can Grub not start up automatically correctly? Where does the UUID 986f2176--4a4b-4222-83b9-8636a034b3c7 come from? I have reinstalled Grub several times, I have reinstall Debian several times, I have even wiped all partitions from /dev/sda and recreated a new gpt table with parted and manually set the partitions in parted. Still on each reinstallation, Grub fails because it cannot find exactly the same UUID. Since this UUID is always the same, it must be stored somewhere, but it cannot be the partitions, I have wiped them and the partition table several times.
I did though a firmware update of the Samsung Evo 840 before reinstallation, could this be a cause?Also the problem is not in grub.cfg. Grub starts correctly if I enter the commands above in the grub rescue screen and the UUID value does not appear there.
View 5 Replies
View Related
Jan 18, 2016
I had an older PC on which I had two SATA drives and an IDE one and on the latter I had Windows 7 installed (I kept it on that drive since I'm not using Windows 7 that often, I'm primarily using Debian as my daily go-to OS), but since then I got a new PC which has no connectivity for IDE, so I had to decommision the drive, and before I did that, I backed up the Windows 7 partition (and the second partition which I used mostly for storing sofware and stuff that I wouldn't want to get wiped after a fresh Windows install) using dd.
Not reading up on this on the internet, doing so with the intention to restore the partition image on the same spot on the disk, but since the SSD is larger than the IDE drive, I made the partitions on it bigger, so there's no chance the Windows 7 partition to be on the same spot on the disk. I tried booting into Windows 7 from GRUB after it successfully detected the Win7 install on the second partition on the SSD, but it just leaves me with a blank screen with a blinking white cursor, so I'm guessing it's not going to fly again. So my question to you: is it possible to ressurect the Windows 7 installation, avoiding having to reinstall Windows? (which would severly complicate things, having to backup and wipe the Debian install I have on the first partition...)
So far I've tried this to fix the Windows 7 install by pointing at the right disk "coordinates": [URL] ...., but I can't seem to get it to work, all I get is some error in regards to not being able to detect the disk's geometry (I think it was the number heads I couldn't figure out to input in the command line), so I couldn't fix it.
View 2 Replies
View Related
Jul 22, 2010
Now however its not letting me resize the Windows partition, mounted or unmounted. It currently occupies the whole disk. I would rather not reinstall the whole thing over again, but I will if I have to. Isnt there an easy way to shrink a Windows partition? I swear Ive done this before and it wasnt this hard. Could it be a problem with the Mint installer that now asks me if I want to unmount my disks before it goes into install mode? On this PC I would like to have
Windows XP
Mint
Ubuntu-Studio
Edubuntu
One of the E17 OSs
Puppy Linux (to create a remix)
I am probably going to put most of the linux partitions on the second laptop drive but I want to install files on a non WIndows NTFS partition.
View 6 Replies
View Related
Apr 18, 2011
When installing Debian, I had to left out 2 windows partition because I originally thought I could install Debian into Windows C: drive. Then I knew I had been wrong. After I moved the data of the 2 partitions out of the hard disk today, I want to merge these partitions into the linux file system.Is this possible without a reinstall? How can I do this?
View 7 Replies
View Related
May 11, 2015
There seems to be no documentation on how to automount partitions and USB devices under systemd in Jessie. (Overall, systemd entirely lacks any useful documentation or GUI configuration tools -- all very cryptic and hidden.)
I created custom files to enable automounting. I put them in /etc/systemd/system -- this may not be the right place, but it works.
Kernel note:
This does not work under the old Wheezy kernel linux-image-3.2.0-4.
To automount my Windows partition so I can access its files, I created:
/etc/systemd/system/media-windows.mount
The name of the file must match the mount point -- in this case, /media/windows
My file notes the device and file type, plus an fmask option so all the Windows files don't seem to be executable:
[Unit]
Description = windows mount to /media/windows
[Mount]
What=/dev/sda1
Where=/media/windows
Type=ntfs-3g
Options=fmask=111
[Install]
WantedBy=multi-user.target
The file ownership must be root.root. Apparently it doesn't need to be executable.
After creating, enable with:
sudo systemctl enable media-windows.mount
and it will mount on the next boot.
I read elsewhere that the before running the enable command you should run a start command:
sudo systemctl start media-windows.mount
but that didn't work for me.
View 2 Replies
View Related
Apr 7, 2011
I'm currently dual-booting Squeeze & Windows XP on a machine i use frequently.
In my experience on the desktop, i now see no reason to have Windows XP as a boot option, & wanted to try & avoid a full re-installation of Debian in order to remove XP (merging it's partition with / ).
I have a checklist that i put together, but wanted to be sure this was all correct before going forward.
1. Perform full back-up of all data.
2. Boot into Debian, through GUI -
System Tools > Disk Utility
- Select HDD (80GB Hard Disk)
- Select windows partition ( /dev/sda1 )
- Format /dev/sda1 to Ext4 Filsystem
3. Boot Live CD
- Use gParted to extend /dev/sda2 (was 38GB, will extend to 78GB)
4. Remove XP from the boot menu.
( Note: My ~ folder is on the same physical drive as / (same volume), but i actually store all Media on a separate physical drive which is formatted in NTFS. I plan on reinstalling XP using a virtual hard disk, & sharing that with the virtual machine.Here is a screenshot of my Disk Utility - [URL]
View 6 Replies
View Related
Jun 15, 2010
I've decided to get rid of ubuntu since I can't get my 5.1 system to work. So here is the drill :
*I have an Ubuntu installed
*I also have a flash and an iso image of windows XP
how do I remove Ubuntu and then install windows xp.I also want to divide my drive into C and D if possible .
View 9 Replies
View Related
Feb 1, 2011
when it comes to Linux with little to no understanding of the command lines and what they mean.
Issue:I currently have a dual boot Windows 7 PC (Toshiba Satellite A100-756 with 250GB HDD and 3GB RAM, 32-bit).What I want to do is format the HDD (removing both partitions) and make a clean install of Ubuntu only.I tried for several hours last night to achieve this using Ubuntu 10.10 and Pendrive, but with no success. System would not boot from USB stick.
How do I: 1. Format the HDD and remove the partitions using only Ubuntu on a USB stick?
2. Install Ubuntu and partition the HDD ready to copy over my backed up files?
View 8 Replies
View Related
Jun 4, 2011
Recently when I booted Windows 7, a "check filesystem" thing got up, so I let it do its thing. And now when I start Windows 7 my computer reboots right after "Windows 7" logo pops up. Is there any way I can re-install/repair my Windows 7 without losing my Ubuntu partition and all my stuff on it?
View 9 Replies
View Related
Apr 13, 2011
Is it possible to install a different windows manager?Currently I am using a HP Netbook 210. The windows manager I am using is gnome-shell that comes as default with Fedora 15. However, I am wondering if I could completely remove this and install a different windows manager. For example I would like to try the xfce 4.8.
I am not talking about completely removing Fedora 15 and then installing Fedora 15 xfce spin. Just the window manager.How easy would it be to remove gnome-shell windows manager and then install xfce 4.8 windows manager?
View 1 Replies
View Related
Feb 2, 2010
Am running Karmic and Windows7 dual booting with separate hard drives. I want to remove Windows 7 and leave Karmic on it's single drive. I am concerned that I will cause a boot problem if I just 'unplug' the Windows 7 drive.
View 2 Replies
View Related
Mar 15, 2010
I have Karmic installed, but still using old grub from Jaunty. I decided to get rid of my Vista dual boot so I used gparted, deleted the partitions and moved and enlarged my Ubuntu ones. Grub then didn't work, presumably because I deleted the MBR. I then installed Opensuse 11.2, which I assume still uses old grub too. This gave an Opensuse option which worked, and a Karmic option which took me to the Karmic bootloader, but Karmic did not load. I then tried some instructions to repair grub using the Ubuntu installer, installing grub to my extended partition. This tells me there is no operating system found. I then tried following the instructions at [URL].
My fdisk -l looks like:
dev/sda4 * Extended partition
dev/sda5 Ubuntu /
dev/sda6 Ubuntu /home
[Code].....
View 3 Replies
View Related
Apr 3, 2011
I've recently applied for University and am happy to say I got an unconditional offer in Software Development as this is the case, and that I expect I'll be using mostly Windows software on my course, I decided to buy a hard drive from a friend at work, larger than the one I have now, and plan to install Windows 7 on it for the sake of my course and various other things (games etc.)
I prefer Ubuntu myself, and I've been using it long enough to feel comfortable migrating to Ubuntu altogether and ditching the windows partition I have now (I currently dual boot). Reasons being that I'm not much of a fan of dual booting as I think it can complicate things when its not entirely necessary and that there is also a Linux-based module on my course and between an installation going wrong on my personal hard drive or my university hard drive, I'd clearly go along with losing my music and pictures rather than losing all of my coursework :S
So my question is this: is it completely safe to blow away the windows partitions I have now on this hard drive? I made a LiveCD of my install through remastersys but I really would not like to go through setting up my themes, preferences, additional compiz plugins etc.
View 3 Replies
View Related
May 31, 2011
I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software
View 14 Replies
View Related
Jul 13, 2011
I am using Windows 7 and Ubuntu 10.4 side by side But i want to replace ubuntu with fedora i have a 64 bit machine I have downloaded fedora 14 iso image. My pc does not boots from a usb and I do not have a cd rom. I want to replace ubuntu with fedora with removing or disturbing my windows.
View 4 Replies
View Related
Jan 26, 2010
I currently dual boot and wish to know how to remove the Windows partition/drive while still allowing Ubuntu 9.04 to load safely as my main OS. I know how to restore windows partition by;
If MBR gets damaged boot from MS Windows Xp disc, Select "R" for "recovery console", select main windows installation drive (admin password usually nothing, just press enter) and type "FIXMBR" this will allow you to boot windows again, but Ubuntu partition will be unbootable and require installing ubuntu again to dual boot.
But this leaves Ubuntu partition Un-bootable as it removes the grub menu, how would I do the same for Ubuntu and make window partition un-bootable so I can remove it?
View 5 Replies
View Related
Apr 28, 2010
In my system, I had installed windows XP first and had deleted one of the partitions (made free space.I am not a techy. I dont know the exact term). In that space, I have installed PC Linux OS (Linux). Now, I want to use that free space to Install Ubuntu by removing the PC Linux OS. When I boot with the live CD of Ubuntu 9.1 to install, in one of the steps, it says the system does not have any OS. It neither recognises windows nor the other linux. Kindly help me. What should I do now. Could I manage to install Ubuntu without completely formatting the system all again.
View 9 Replies
View Related
Feb 1, 2011
I have installed vista(Preloaded) and Ubuntu 10.10 in dual boot in my laptop. Now i want to get rid of vista, and want to have only Ubuntu, also i want to assign all space to Ubuntu. I have two query's
1. How could i cleanly uninstall Vista from my system? (I Used WUBI to install Ubuntu)
2. Can i install Vista in future? (As my Vista was preloaded, Vista didn't recognize the hard drive on which Ubuntu is installed)
View 2 Replies
View Related
Feb 20, 2011
Two days ago I repartitioned my laptop HD and added the latest Ubuntu (2.6.35-25-generic) to the existing Vista and existing Ubuntu (2.6.32-28-generic via upgrades from 9.14(?)). Prior to this install it was using Grub with menu.lst from the old/upgrade Ubuntu. After the install the boot menu labels the partition with Vista as the Windows Recovery partition and the recovery partition item is no longer present.
At first I wondered how I could get Vista to boot. I found that SuperGrub cd would boot it OK. Then, it dawned on me that the boot menu item was not the recovery partition, but instead the Vista OS partition mislabelled . Vista loads just fine from it. The recovery partition is no longer listed as it was with Grub/menu.lst. SuperGrub will not boot the recovery partition, showing an error "missing BOOTMGR".
'os-prober' produces--
root@Toshiba:/home/deh# os-prober
/dev/sda2:Windows Recovery Environment (loader):Windows:chain
/dev/sda7:Ubuntu 10.04.2 LTS (10.04):Ubuntu:linux
[code]...
I edited boot/grub/grub.cfg so the boot menu item is labelled correctly, but suspect that it will revert back when there is an upgrade.
View 4 Replies
View Related
Sep 1, 2011
i have instaled ubuntu 11.04 wubi on my pc with windows 7. i installed and everything was going ok i navigate on ubuntu already. but the problems star here i went on my ubuntu to the partition section and i format my windows partion to be the home partion and changed the nfts to ext, i did the upgrades but i forgot that theyr running yet and i restart my computer when it boot again it gaves me an error:
try (0,0) : nfts5 : wubildr
try (0,1) : ext2 :
and the windows7 says that i have to instal again. so i went to another pc and i made a cd boot and a pen boot. i burned the iso (downloaded from the ubuntu oficial site the 11.04 32 bit version) image to the cd and pen drive prperly, i adjust my boot options to star from usb or cd rom and nothing im struck.
View 9 Replies
View Related
Oct 25, 2010
This is my partition table:
/dev/sda1 1 4255 34178256 83 Linux
/dev/sda2 4256 4437 1461915 5 Extended
/dev/sda3 * 4438 9964 44395627+ 7 HPFS/NTFS
[code]....
View 4 Replies
View Related
Jun 4, 2011
I have an Acer Aspire Netbook running a dual boot with Xp and Ubuntu Netbook Version (Lucid Lynx if I am not mistaken?) Anyway I plan on selling this netbook and I need to remove the Ubuntu Partition and go back to just a full Windows Xp partition with it's recovery partition also.
View 2 Replies
View Related
Aug 1, 2011
I tried installing Ubuntu 10.04 LTS on my girlfriend's lenovo using a live disc. First we tried it out to show her the wireless would work fine (her previous lenovo was not ubuntu friendly at all). She's interested in keeping her windows 7 partition along with the lenovo recovery partition, so I tried doing a dual boot install. I manually moved the cursors setting the disk space on each partition, and we allowed Ubuntu to do the rest. Much to my dismay, the installation failed.
I've done some reading over the internet, and I think in our case it would be best to use a Wubi installation. We're interested in using 10.04, so where can we find a wubi installer of Ubuntu 10.04?
Also, any ideas why the installation might have failed? The iso was downloaded off the ubuntu main site, and we burned it using infrarecorder.
View 3 Replies
View Related
Feb 27, 2011
what i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.
im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.
all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.
View 1 Replies
View Related
Feb 19, 2010
I installed XandROS on my vista machine. I can access the Windows partition from Linux but in Vista I cant see the Linux partition...is there anything I can do about that?
View 3 Replies
View Related
Mar 3, 2010
I've been trying to purge my system from packages I don't normally use, like Epiphany and Evolution, and I think I have been somewhat successful but I'm still struggling with GNOME when trying to keep the gnome-applets package and the system forces the installation of the evolution-data-server-common and libedataserverui1.2-8 packages.What is the role of this packages? Are they hard-wired into GNOME and cannot be remove at all? Or is there a way to discard the packages and keep the one I want?
I'm not doing this for the sake disk space; I'm only trying to take control of my desktop to always have the most clean system possible.
View 14 Replies
View Related
Mar 17, 2011
I m trying to install Alsa for playing wav files I typed this: aptitude install alsa-base It started removing a lot of software from debian. Is that expected with that command? Do I need to install another "base" to bring things back?
View 4 Replies
View Related
Apr 22, 2011
When updating from the last Debian Live image (Squeeze) to the current Debian testing, apt announces a lot of packages being not required:
The following packages were automatically installed and are no longer required:
openoffice.org-draw libpcsclite1 libwpd8c2a usb-modeswitch gtk2-engines-smooth dnsmasq-base tomboy
libmono-security2.0-cil libgsf-1-common update-notifier-common libndesk-dbus1.0-cil libmtp8 libmono-addins-gui0.2-cil
gnome-js-common pnm2ppa libavutil49 libhal-storage1 libmono-system2.0-cil update-notifier python-mako
openoffice.org-officebean openoffice.org-emailmerge network-manager-gnome openoffice.org-impress gdebi libgpod-common
[Code]...
These include some important packages, like network-manager-gnome for example. Was it really intended to be removed? Without it, it's impossible to manage network connections from Gnome (only manual option of editing interfaces config is left). Is it a bug, or some incomplete intention? apt suggests to autoremove these packages. Should they all be retained, or only some of them, or it's supposed to be none? Removing some of them makes sense for me (like Epiphany for example), but some not at all.
View 3 Replies
View Related