Ubuntu Installation :: Moving GRUB Across Partitions?
Jun 27, 2010
I have two "Ubuntu" installations, for the record. My HDD is laid out like so:
PRIMARY - First Ubuntu
PRIMARY - Second Ubuntu [XBMC Live]
4GB Free
14GB LOGICAL
-4GB Free
-10GB Swap
Now, GRUB is currently on XBMC Live. I have terminal and root access if needed, and a "Live CD" ready to use. What I want to know is how I can move GRUB, preferably on its own partition but it can go back the the first partition.
View 5 Replies
ADVERTISEMENT
Mar 29, 2010
Here's my fdisk -l:
Code:
Now, i'd like to join partitions sda7 and sda8 in a single partition. However, it seems that GRUB is residing on sda8, where there is a Ubuntu installation I don't need anymore, while I use the Ubuntu 9.10 installation on sda7.
To make it more clear, I see two /boot/grub dirs on both partitions, but my pc seems to use the one on sda8.
What's the correct way to handle this problem?
I believe I use Grub1.97 but I don't know if the system is showing me the "wrong" grub (on sda7) instead of the one that's really used.
View 3 Replies
View Related
Aug 29, 2010
I have 1 HD with the following OSes, each on his own partition:
p1 WinXP
p2 Win7
p3 Ubuntu
p4 Ubuntu Studio
p5 Unallocated (not actually a partition)
I intended to create a 5th partition, formatted as NTFS, for data. That's when I found out that Windows only supports 4 partitions per disk (yeah, I know, should've looked it up first). On Win7 Disk Management applet, they're all listed as "Primary Partition".
I've come up with a few possible solutions: s1. Move partitions p3 & p4 down towards the end of the HD, and add half of the available space to partition p2 (Win7) and the other half to partition p4 (Ubuntu Studio).
s2. Move partitions p3 & p4 to the end of the HD, and add all available space to partition p2 (Win7).
s3. Increase partition p4 (Ubuntu Studio) to take up all the available space.
My questions:
q1. Win7 Disk Management applet gives me no option to move or resize (other than shrink) the partitions. Does this mean I'll have to use another partition manager (e.g., gparted)?
q2. If I move the partitions p3 & p4 (both Ubuntu), will there be any impact on grub?
q3. Is there any way to turn partition p4 to extended instead of primary? If so, what are the consequences?
View 6 Replies
View Related
May 28, 2011
I am a new user of Ubuntu (11.04) and I have a slight problem. I currently have windows 7 and Ubuntu 11.04 dual booted on my HP Pavilion machine with grub menu replacing the regular windows boot-loader. How exactly can I transfer Ubuntu from one hdd to another without damaging the grub menu or windows 7?
View 1 Replies
View Related
Jan 27, 2010
I am planning to move my main OS from Windows to Ubuntu (Yeah I am that impressed) but I wish to move windows to my current smaller hard drive until I find all ubuntu replacement programs i can use then eventually eject the windows drive. The problem is has we all know who dual-boot you have to install windows first before ubuntu as the windows mbr is when grub is stored and gets wiped when you install windows.
It must be possible to add windows as secondary OS while keeping / or reinstating grub must it not it surely (eg on 10.4LTS release it would be ok, but if i installed windows vista or 7 on my secondary hardisk it would destroy grub).
View 9 Replies
View Related
Jan 14, 2011
I have windows 7 and am soon to partition a large amount of my drive over to linux. I'd rather all of my computer be linux but I'm unsure how to get my files to my other partition, I don't have a thumbdrive and my email doesn't have much space. I have 300 gbs of room, 150 will be linux, how do I get the 100 gigs moved from my windows partition to my linux so I have more space on my linux.
View 1 Replies
View Related
Apr 19, 2011
My temp file is currently located int the root partition which is a a relatively small partition. As it is, if my root partition id more than half full I am unable to make a backup of the whole system. I would like to move that folder into the home partition and maybe even make it a hidden folder. Since a lot of apps depend on the other folders within the temp folder - what I am wondering about is whether I can just move the folder or if I need to be concerned that those apps will not be able to find the folder then. Would I end up needing to go into every app that uses it and change settings? Is there things within the o/s that use it that I would need to reconfigure or something?
Ubuntu 11.04 with the Unity Desktop on a HP ze2000
View 7 Replies
View Related
Jan 20, 2010
I installed ubuntu on my internal hard disk I experienced a problem with Grub and I just formatted all the Ubuntu Partitions and convert their format to NTFS to restore my windows (I have a backup) but now despite of I format all the Ubuntu's partitions but in the boot time, the grub exist and the grub apear I want to know where does grub exist? I installed ubuntu on the dual booter situation and it was ubuntu 9.10
View 1 Replies
View Related
Apr 21, 2010
I've using win7 and 9.10 for a few months now. Today I decided to install yet another OS, but during installation a new grub was written to the mbr. Result: I can no longer boot Ubuntu.This is what my menu.lst looks like
Quote:
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,4)/boot/gfxmenu
default 0
[code]....
I can see and mount my 9.10 partition just fine from the new OS, it's located on dev/sda6.And I'd still very much like to keep using Ubuntu. So, how do I go about editing this file to make it work?
View 5 Replies
View Related
Dec 30, 2010
im using ubuntu server 64 bit on intel atom410D. when im using my SATA DRIVE as AHCI mode while i moving 4 GB files from one partition to another my server is getting so slow that it will take me to login on ssh 2 minutes. so i have seen a thing or two about a bug on it. i changed the AHCI mode to IDE mode and now it seems to work better.
View 2 Replies
View Related
Jan 28, 2011
On my laptop, squeeze has /, /boot, /usr, /home and I think /tmp /var on separate partitions. I want more space for apps and to not have to be so frugal with /home. Earlier this week I shrank sda1, freeing up 40 GB. I wanted to start moving the squeeze partitions, but GParted logically enough denied it since they were mounted, duh. I'm glad for that, because I was getting overeager and hadn't made even a full system backup.
This is one of those situations where choice, while good, makes it hard to get started. I wouldn't mind using dump, but doesn't it inefficiently copy the whole partition regardless of empty space? I figure tar could do as well, but is it a problem that it doesn't preserve all the meta info? As a starting point, I'd like to have an "quick" and safe way to make sure that if something happens while moving partitions, I can do a restore. I can progress to more optimal solutions later on, like semi- or fully automated incremental backup.
So what is a sure-fire way to do this while preserving all info? Should I stick with something like clonezilla, can I manage it from within Debian (CLI, ready-made script, GUI), is there a still better way?
View 5 Replies
View Related
Apr 3, 2009
Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.
View 3 Replies
View Related
Mar 29, 2010
i'm trying to install 98se to a 110gb partition so i can dual boot with ubuntu 10 for 98 and 100 for ubuntu after the resize. when i tried making multiple partitions manually for ubutnu putting it on separate partitions i got grub boot errors. the problem i am having every time i try to install 98 it forces me to scandisk it then i have to hit space bar to fix every error i thinks it finds wich is impossible to press it 2 million times. now if I format in a non 98 format and tell it to format in lba it keeps asking for a boot disc, i burned one off but, still kept asking for it. if i do it in non lba, it only saw 2 gigs in 98 and when i went to install ubuntu it was a giant hard drive no partitions. i did try making 3 fat 32s 1 for 98 and then swap and linux partition but, the i got grub errors 17 and 18.
the problem is that bios a cap of 130gb for each drive or in this case partition. it's 320gb WD blue Scorpio. the short i want to dual boot 98se and ubuntu 9.04 with 2 fat32 partitions for storage 110 +100 + 80 = 320 also some visuals.
View 9 Replies
View Related
Dec 29, 2009
I have Windows XP and OpenSuSE 11.1 installed on my laptop. I have recently removed the recovery partition provided by the laptop manufacturer (HP) to free up some space and ideally I would like to be able to add the free space to the existing Windows partition.The current partition set up is as follows:
Code:
Disk size 93Gb, P = Primary, L = Logical, U = Unallocated
P Windows XP 36Gb /dev/sda1 /windows
[code]...
View 1 Replies
View Related
Nov 4, 2010
I'm running Debian Squeeze AMD64 with full disk encryption and LVM. After reinstalling Windows 7 I lost GRUB from the MBR. I managed to install GRUB after following this guide and using an Ubuntu 10.04 graphical installation disc, but I only get to a GRUB CLI when booting, so I can't actually choose an OS there.
I tried following this guide but I'm stuck after "# Mount the partitions to /mnt/root" and don't know what to do.
Does anyone know how I can fix GRUB so I get to choose between Debian and Windows 7 there?
View 6 Replies
View Related
Mar 22, 2011
I used Ubuntu before, without problems but since the 10.04 version it won't recognize my partitions. I formated my laptop and partitioned it, installed Windows 7 64bit, which I need for my work, and wanted now to install Ubuntu 10.04/10. I then used GParted to check my Harddisk and it is having troubles to recognize my partitions, too while Windows finds them. GParted is giving me an error message saying my partitions are oversized. I am still in the beginning of my Linux experiences and so I don't know what to do. I have two 250GB harddisks (how Windows recognizes them),
[Code]....
View 9 Replies
View Related
Mar 3, 2010
Xubuntu 9.04 installation CD not detecting any of the current partitions. This all started when I reinstalled windows XP a few days ago.After, the computer wouldn't boot into GRUB and would boot directly into windows.Other threads have dealt with a similar issue, that of overlapping partitions causing libparted/parted/gparted to detect the whole drive as unallocated space. The problem in these threads seemed to be a corrupted partition table, in which the partitions overlapped with each other. So of course I checked the output of fdisk -l for overlapping partitions, but I don't see any obvious overlapping partitions. I've noticed that the partition that used to be linux swap isn't showing up in the partition table at all. I might just be missing something simple here and would like another set of eyes to help me figure this one out. Does the problem have anything to do with the partition table being out of order (ie. not in order of what regions they cover on the drive)? From the liveCD I've run
Code:
sudo fdisk -lu
sudo sfdisk -d
sudo parted /dev/sda print
and have received the following output:
Code:
ubuntu@ubuntu:/mnt$ sudo fdisk -lu
omitting empty partition (5)
Disk /dev/sda: 60.0 GB, 60011642880 bytes
[code]....
View 3 Replies
View Related
Feb 9, 2011
I am installing Ubuntu on the same hard drive as Windows 7. The partitions of Windows 7 have already occupied the left part of the hard drive. From left to right, the Windows partitions are one partition for Windows booting, one for Windows OS and software installation, and one for data which is planned to mount on Ubuntu. I was wondering how to arrange the order of partitions of root, home and swap, i.e. which is on the left just besides one Windows partition, which is in the middle and which is on the far right?
View 1 Replies
View Related
May 15, 2010
Because I am using one of the new WD disks I am trying to aling my root partition with the real sectors, as described here:[URL]31So I copied all files to a temp location, deleted my partition (/dev/sda3), recreated it a few cylinders later (same name) and copied the files to the newly created partition. But now when I try to boot, I get my old grub menu but after selecting my kernel version it hangs
View 15 Replies
View Related
Jul 21, 2010
I need to move a Linux boot partition which uses grub into some unallocated space to its left on a hard disk in order to make more room for the partition after it. The boot code is not in the MBR but in its own partition. I have a multi-boot program which currently correctly boots the partition. The partition order will not change.
I have non-Linux software that can move the partition. The software suggests I have to run some Linux command after the move, but does not say what to do for grub. I would be glad to move the partition within Linux if that makes it easier, perhaps with gparted or kparted.
Can someone tell me if there is anything I have to do for grub if I move the partition to its left ? My multi-boot loader will find the partition to boot once I move it. If I move it with gparted or kparted do I have to do anything after that to make sure grub works correctly once my multi-boot program boots the partition ?
View 5 Replies
View Related
Jun 11, 2010
I recently tried to clone a RHEL 4 system and migrate it to some different hardware (IBM Blade to an IBM x3650M2 rack mount). I'm getting an error when it tries to boot up. It gets past the grub part, but then errors out quickly with this error code...
I've done this before, but the other system I migrated didn't have a separate "/" and "/boot" partition. I think this may be why it's having an issue. It seems like "/boot" is actually /dev/sda1 and "/" is /dev/sda2 (from booting up RHEL rescue disk). I've tried changing fstab and grub.conf, but I think I may be missing something.
View 4 Replies
View Related
Dec 4, 2010
I have a strange problem with grub. My grub boot image randomly changes sometimes into default opensuse and sometimes into penguin moving around.Is is a funny program?
View 9 Replies
View Related
May 31, 2010
As my proficiency with Linux improves slowly, I've been trying to find the answers for myself, but in this situation I must admit I find myself rather stumped. I have a perfectly nicely working Fedora 12 install on an 80GB SATA drive, and when it hit an error and wouldn't boot last week (easily fixed with fsck from the initial command line) I panicked and ordered a new 250 GB drive. It got here and I might as well use it, I thought to myself, so I went about trying to figure out how to move my install without having to reset all of my settings, programs and so on. I didn't want to mess with dd because I'm not so so clear on resizing my partitions once the copy is done (if someone thinks this is a better idea I'm open to suggestions.) After some poking around I found this set of instructions which I attempted to follow to the letter, but hit some snags. I understand this thread I am referring to may be a bit outdated, which is why (I assume) I hit a bump here
Code:
# mount /dev/hdy1 /boot
mount returns an error demanding I specify the file system type. At a loss, I barreled on until
Code:
[Code]...
To summarize, I partitioned and mounted my new drive using fdfisk and the instructions provided above, then used rsync to copy over all of the files, so as far as I know the new drive is ready to go, just not yet bootable. Opening the Grub.conf file in Kwrite (as root) returns a blank page. What do I do now?
As a side note, you can see that I am not too squeamish about the terminal, so I would prefer to find a "command line only" solution to this relatively simple (?) procedure.
View 5 Replies
View Related
May 17, 2010
How can I install grub after changing partitions with a partition live cd (gparted), since the old grub is no longer working. Usual reinstall won't work here, it'll just reinstall with all the wrong pointers to partitions.
View 2 Replies
View Related
Jun 10, 2010
I have a 320GB Hard Drive, divided into 4 partitions.
20GB Windows 7 Home Premium x64(NTFS)
20GB Mac OSX Leopard
20GB Ubuntu 9.10 x64 Root (Ext4)
[code]....
View 3 Replies
View Related
Jul 18, 2010
I've been running ubuntu 9.10 until this week without any problems. I've just done an in-place update to 10.04 and now cannot boot my windows XP partition.
looking at grub.cfg it appears to be referring to sdb1 as the XP partition whereas the disk utility says the correct partition is sdb5.
sdb1 is a data partition formatted ntfs but not bootable.
When I choose XP from the grub menu all I get is a black screen with a flashing cursor at the top, which would suggest it is trying to boot the data partition.
I've tried update-grub and also startupmanager and it makes no difference. I would just try to edit grub.cfg but the next update would presumably wipe out my changes.
View 1 Replies
View Related
Dec 17, 2010
Now i have two different OS in different partitions and i want to doble boot with grub.
When i start my pc i get the GRUB TERMINAL: grub>
How to boot?
View 5 Replies
View Related
May 7, 2010
I want to resize and eventually remove some partitions on my drive but I need to know how this will affect grub and what to do if I need to fix it.I currently have 3 standard partitions and 1 extended partition on a 160Gb drive.
1st Partition -Windows XP about 60Gb with about 35Gb used. NTFS
2nd Partition -Ubuntu Lucid 10.04 amd64 about 40Gb, 22Gb used ext4
3rd Partition -Linux swap about 2.5Gb
Extented Partition -Ubuntu 9.10 about 49Gb with 23Gb used ext4
I'd like to shrink the Extended partition down and add the space to the 2nd partion where Lucid is. Eventually, I'll want to delete the whole extended partition and add all the space to the Lucid partition.
After using GParted to resize these partitions, what will happen when I boot? Will I need to tell grub where the swap and 9.10 are? I am not changing the start of the first two partitions so I would assume there will not be any problem with them (I'm not sure how moving the start of the swap might affect the Lucid installation though).
View 9 Replies
View Related
Apr 22, 2011
I've resized partitions with some program - perhaps even gparted - but from Win7. partitions are indeed resized, but now I can't boot Win7, grub says:
"No such device found - No such partition found".
I tried to use some advices on similar problems I found here (like adding GRUB_PRELOAD_MODULES="part_msdos" to etc/default/grub and running grub-mkconfig after), but nothing helped. I guess I could restore win7 with installation dvd but I want to fix GRUB (and have both ubuntu 10.10 and win7)
Code:
john@john:~$ sudo fdisk -l
[sudo] password for john:
Disk /dev/sda: 82.0 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd576590b
Device Boot Start End Blocks Id System
/dev/sda1 1 789 6336513 f W95 Ext'd (LBA)
Partition 1 does not end on cylinder boundary.
/dev/sda2 * 1476 4008 20346322+ 7 HPFS/NTFS
/dev/sda3 4009 9964 47841570 7 HPFS/NTFS
/dev/sda5 1 749 6008832 83 Linux
/dev/sda6 749 789 326656 82 Linux swap / Solaris
View 5 Replies
View Related
Feb 11, 2010
my old 80gb pata HD showed a dual boot Ubuntu - XP on startup, although ubuntu never worked, onlly XP booted. Recently I tried to Restore a Macrium backup on one of its two partitions, & spoiled something. On boot up it says:-
GRUB loading stage 1.5GRUB loading please waite Error 22
I tried to reinstall Ubuntu 10.8 with no success, & also XP with "R" for repair again with no success.
View 3 Replies
View Related