Ubuntu :: Booting From Grub After Partition Move?

May 23, 2011

I just moved mu Ubuntu install partition and am now having a bit of trouble booting from GRUB.

After selecting Ubuntu, I get a black commad-line kind of thing (I can type, but can't actually run commands) and then after a few seconds it carries on to the Ubuntu desktop...

It's not the hugest problem in the world but I'd like to fix it if I can... I've reinstalled grub and run update-grub but that didn't change it.

I assume it's something to do with GRUB, not recognising where the beginning of the partition is any more, is there some way that I can manually force it to use the new position? Or would the reinstall/update-grub have done that already?

View 5 Replies


ADVERTISEMENT

Ubuntu :: Move Grub From One Partition To Another Partition?

May 8, 2010

I don't know if this is possible however would like to know how to move grub from one partition to another.I may not have explainded that very well. I have a computer that i use to checkout different linux distros, however since the introduction of grub2 things have become difficult. I have a number of primary partitions on the one hdd If I install a o/s that uses grub on a partition and another partition has a o/s that uses grub2 then on startup the o/s with grub2 no longer appears on the grub start up screen so I cannot boot into the grub2 o/s. The reverse is ok i.e. if I install a grub2 o/s after a grub o/s all appear on the grub start up screen.

This leaves me in the situation where I have to always reinstall a grub2 o/s after i install a grub o/s. Hope that makes sense! This is why it would be easier (I hope) to be able to move grub from one o/s to another. I must admit I don't really understand it all that well and I know that mbr plays a role in it, however I think it's correct that the mbr can remain on an o/s yet grub is on another?

View 4 Replies View Related

Ubuntu :: Move Grub.conf To A New Partition?

Aug 1, 2011

at the moment I am trying to create a script on the Win7 partition of my dual booted laptop that will allow me to change the default of Grub2 OS to ubuntu. To do this I need to transfer the grub configuration files to a small partition which windows can access.There are several tutorials online that show me how to do this with grub legacy, but these are not very clear on how to set the new configuration location in grub, and I am a little wary about touching my boot loader without knowing for sure what I am doing.

Another option I have come across is to chainload grub legacy with grub2 so I can make changes to grub legacy (which I've heard is generally easier to get along with) and test my configuration before I change loaders.Which of these would you suggest? And if I should just make the changes to grub2 then what will be the difference between this and the process of grub legacy?

View 9 Replies View Related

Ubuntu :: Booting Acronis Recovery Manager From Partition Using Grub Menu

Jul 24, 2010

New to Ubuntu and trying to ensure I can boot into Acronis Recovery Manager to be able to reimage Windows as and when appropriate. If I enable the Acronis Recovery Manager so that it overwrites the MBR then I run out of ROM I think which prevents it from loading. If I use the software CD that doesn't detect my sata drive. However, I made a rescue CD in Acronis and this does work but I'm only using my bootable CD drive temporarily in this system.I found this post (URL...) which seems to do what I would like and have managed to follow this to extract the files from my rescue CD into /boot/acronis. However this original post relates to Grub and as a newbie to Ubuntu I think I have Grub2. I can't figure out what the correct syntax is to make a new Grub Menu entry in /etc/grub.d/40_custom.

View 1 Replies View Related

OpenSUSE Install :: Deleting SDA Partition On Multi OS Disk And Grub Booting?

Mar 17, 2011

That is my disk

Code:
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 1 3724 29912998+ 83 Linux
/dev/sda2 29256 30401 9205245 7 HPFS/NTFS
/dev/sda3 3725 4271 4393777+ 5 Extended
/dev/sda4 * 4272 12104 62918572+ 83 Linux
/dev/sda5 3725 4271 4393746 82 Linux swap / Solaris

I want ot install a new opensuse 11.4 as yest another OS. Due to the fact that I already have 4 sda partitions, I have to make some changes. What I am thinking about is to copy the sda2 (windows recovery) data to some folder etc (nevermind), then delete the sda2. Then I want to create a new primary partition for the new suse 11.4 and install it. What is worying me is the grub boot menu. I was planning to edit the new one (the opensuse 11.4), with old data.

Code:
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.2 - 2.6.31.5-0.1
root (hd0,3)
kernel /boot/vmlinuz-2.6.31.5-0.1-desktop root=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080105BB0F00WDHE41DC-part4 resume=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080105$
initrd /boot/initrd-2.6.31.5-0.1-desktop .....

Now my question is will the settings of (hda0,n), change due to the fact that I have deleted the sda2? I have a lot of unused space at the end of my disk and want to create a new "sda2" there.

View 9 Replies View Related

General :: Boot - Updated, Grub Menu Not Booting To Windows Partition?

May 24, 2010

I have just updated my Ubuntu linux to Ubuntu 10.4, not my grub menu isnt letting me boot to Windows Partition.The problem seems to be with grubs new update from using an editable menu.lst file to using a non editable grub.cfg file. Everywhere I look it states "DO NOT EDIT THE GRUB.CGF FILE". I am at a loss as what to do. I figured that the new configuration has screwed up the Windows Boot File. Anyone have any suggestions on how to fix this. I am not sure if it is a windows issue or an issue with the Grub boot menu.

View 2 Replies View Related

General :: Grub Booting Entire Partition As Initrd And Running In Memory

Apr 20, 2011

I run alot of Linux running in memory. Mainly by PXE booting a kernel and the entire OS as the "initrd" file.

I have a RHEL6 image running as a VirtualBox guest and the entire OS (minimal) is contained withing 1GB of disk. I wan't to boot the entire /dev/sda1 "/" (its the only partition on the drive, no swap) as the initrd file and run everything from memory. But grub won't let me. So before I try and re-invent the wheel I thought to post here first.

Details. RHEL 6 as guest in VIrtual BOX. configured with 3Gb memory. HD is single partition and known as /dev/sda1.

at the grub console. I issue

root (hd0,0)
kernel /boot/vmlinuz-2.6.32-19.el6.x86_64 root=/dev/ram0
initrd (hd0,0)

But the grub windows just freezes. Apparently it doesn't like the fact that I've referenced the entire partition (hd0,0) as the initrd. Any thoughts? Or any better boot loader like SYSLINUX?

BTW, I am not worried about the /etc/fstab mentioning /dev/sda1 at this point, I have a fix for that already. I would like to see grub load up the partition as an initrd.

View 1 Replies View Related

Software :: Convert Primary Partition To Logical (ie Move It Inside The Extended Partition)?

Nov 29, 2010

Around 2008 i seem to remember PartEd on the command-line was able to rescue deleted partitions and gave a choice of whether to recover the partition as a Primary or Logical Partition. I have tried testdisk but didn't really grok what i was doing. I successfully moved a "Windows Recovery" partition to the end of my hard-drive, immediately after the drive's Extended Partition.

View 3 Replies View Related

Ubuntu :: Booting From NForce FakeRAID - Hand Correct Grub.cfg After Update-grub?

Mar 5, 2011

I was unaware of the difficulties of installing and booting Ubuntu from the "onboard raid" that the NVIDIA nForce chipsets provide. However, I've managed to get it working reliably with one single caveat:

When update-grub builds the grub.cfg, it refers to all of my partitions as follows:

Code:
menuentry 'Ubuntu, with Linux 2.6.35-27-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(/dev/mapper/nvidia_caifaefg,msdos5)'

[Code]...

So I'm guessing that the whole nvidia_blah,msdos5 is because of that. However, it doesn't seem to explain why Grub would THINK that would work and it in fact does not work. That's the biggest source of confusion on my part.

My questions are as follows: First off, because as an IT person I want to know: Why does this sort of change work? What does changing that device name change in GRUB's behavior? Is there a setting in /etc/default/grub that would change the way it's naming these RAID devices? Is there a value for this setting that would give me the device names that work, as explained above?

If there is no setting change I can make in /etc/default/grub, could I add a sed command on to the end of update-grub or can I make a modification to one of the scripts in /etc/grub.d? What sort of change would be recommended? How would I preserve this change through later package upgrades that would possibly rewrite these files?

View 1 Replies View Related

Ubuntu Installation :: Move Installed U10.10 To Dual Booting Harddrive / Solve This?

Mar 5, 2011

I have a single boot ubuntu installation (that I like very much) that I want to migrate to a larger hard drive that has an XP installation on it so that I can dual boot on one hard drive. I've already partitioned it.

So:

Hard drive A: has Ubuntu on it

Hard drive B: has two partitions, one XP the other one waiting for Ubuntu.

I'd rather not just install Ubuntu all over again as it was annoying to install the wireless dongle. among all the other secondary installations and tweaks that have been done.

View 9 Replies View Related

Fedora :: Can't Dual Booting With Grub (legacy) - Black Screen Grub Error 27

Jul 31, 2011

is it ever possible to do dual booting with grub(legacy) ever at all!. it is possible provided i take some pain, here is the link of that post [URL] i was coward and weak i didn't try that out then. but i did try it out. now so if u haven't seen the post .... I've installed Fedora 15 desktop(Gnome) with physical Logical volume called vg_fedora lv_root(ext4) ,lv_swap and lv_home(ext4), with 500MB /boot partition and had about 200GB free hard disk space ... so i wanted to install Scientific Linux 6.1 (because our school uses RHEL 6.1)

so, while running the installer I made (added) a logical volume lv_Scientific with ext4 FS and made its mount point (/) and used the MBR /boot which overwrote the Fedora /boot (completely OK and was as expected) i restarted after installation i got SL log in and as per the directions of the thread i copied the boot stanza from grub.conf of fedora 15 (which i already had copied and pasted into a text file and copied it from there)and pasted it into grub.conf of SL you may ask why did i choose same physical LVM too save swap space ... if i had made another physical LVM i had to make another swap ( i like LVM ... its cool)

completely unexpected happened Fedora now boots but not SL when grub starts i get this error 27 unrecognised commad and when i press <enter> i get grub menu with SL and fedora when i press on Fedora it works well i get my fedora login and i did login .. everything works fine but when i press SL it goes to the previous black screen grub error 27

[Code]...

View 14 Replies View Related

General :: Booting Windows7 For GRUB/ Removing Grub?

Jul 20, 2011

I just formatted the partition that contains fedora 15 using windows.. Now when I attempt to boot my PC the grub bootloader comes up and I cannot boot anything.... The error that I get|| i feel i need a boot command to boot boot win7 from grub... grub propmts me " minimal bash-like line editing is supported. for the first word tab possible list a possible commands completion anywhere else tab list

View 1 Replies View Related

Ubuntu :: Move /var And /tmp To One Partition?

Mar 24, 2010

I have installed Ubuntu 9.10 Server on a flash based USB memory stick, so I wanted to move /var and /tmp to a partition on a hard drive (one partition with both /var and /tmp and symlinks from / to those). I read this guide here [URL].. but it failed after restarting the server. I then found out that ubuntu must have /var/run on the root file system [URL].. so that was why it did not work.

My workaround for this was to create /var and /var/run on the root file system, mount my partition to /var and then symlink /tmp to /var/temp. It now works as I wanted, both /var and /tmp on the same partition. But is there a better way to solve this? Can there be any problems with /tmp->/var/temp?

View 2 Replies View Related

Ubuntu Installation :: Move GRUB From One MBR To Another?

Aug 28, 2010

I recently installed Ubuntu Lucid Lynx for a friend; for non-technical reasons, the installation had to be to a USB drive instead of writing to the internal hard disk. After reading some online literature on the subject recently, I suspect that the GRUB may be on the internal hard disk MBR instead of the MBR for my USB drive. How can I move the GRUB to another MBR without completely reinstalling it?

View 2 Replies View Related

Ubuntu :: Cannot Move /var/www To Other Device - Partition / Fix It?

May 5, 2010

I'm trying to move the /var/www dir to another partition (another hard drive even, though I doubt that makes a difference) because my file system partition is rather small. But when I do I get "403 -forbidden" and in the logs "Permission denied: /home/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". If I move it anywhere within the partition (and adjust the conf) I don't get this problem. Using Ubuntu 10.04 Desktop x64. I haven't had any problems with this in earlier Ubuntu-versions.

View 6 Replies View Related

Ubuntu :: Backup To Move To New Partition?

Jun 13, 2010

So I've been trying to solve another problem (disk errors that MIGHT have something to do with ext4). I was wondering if there would be a possible way to backup my 10.04 install and move it to an existing, unused ext3 partition. I'm kinda stuck at the moment with my disk error problem, and figured I could waste some time to see if I could MOVE my install (as to not have to do a fresh install, re-install every application and script, and re-customizeand and move all of my media and files) onto an ext3 and completely remove the ext4.

View 3 Replies View Related

Ubuntu :: Attempting To Move /usr To Another Partition?

Aug 1, 2010

I recently bought a SSD and decided to give the majority of the space to windows for production purposes I gave 3.5GB for ubuntu but that filled up rather fast so i decided to move the folder taking up the most space to another partition which is /usr.

I tried moving the /usr to another partition and using a symbolic link but that didn't work so i'm trying (and would prefere this method anyway) to use fstab to do it

Code:
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).

[Code].....

View 3 Replies View Related

Ubuntu Installation :: To Move From 1st To 3rd Partition?

Oct 25, 2010

I have Ubuntu installed on my 1st HD partition and working pretty much the way I like. I need to convert this to a dual-boot system with Windows. Windows really wants to be on the first partition on the first drive, so I think I need to move Ubuntu to the 3rd partition, behind the swap partition.I could do a complete reinstall but that would take forever. Is it reasonable to just copy the present /dev/sd0a partition to /dev/sd0c, install Windows, then run the Ubuntu CD to reinstall GRUB?

I guess I could just use dd for this but it's been so long that I've forgotten the correct method for moving a whole filesystem.

View 4 Replies View Related

Ubuntu :: Is It Possible To Move Extended Partition

Jul 6, 2011

The fact that there are mounted partitions can be ignored as any work to be done will be done from a LiveCD.The question is Can the extended partition - SDA4 which contains SDA5 (Maverick Meercat) and SDA6 (swap) - be moved to occupy space at the end of the drive somewhere within the unallocated partition so I can then extend SDA3 to take all of the remaining space?

At the moment using Gparted all I can do with the free space is create another partition.SDA1 through to SDA6 is a copy of the original hard-drive.The copying was done using Paragon Partition Manager (a Windows program). This caused all sorts of problems Grub, and was a PITA to sort out. The program installed its own version of the MBR which had to be sorted with a Windows 7 install disk and then I had to sort the Grub problems after.

View 9 Replies View Related

Ubuntu :: Can't Move /var/www To Other Device - Partition / Sort It?

Jun 1, 2010

I'm trying to move the /var/www dir to another partition (another hard drive even, though I doubt that makes a difference) because my file system partition is rather small. But when I do I get "403 -forbidden" and in the logs "Permission denied: /home/www/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable". If I move it anywhere within the partition (and adjust the conf) I don't get this problem.

Using Ubuntu 10.04 Desktop x64. I haven't had any problems with this in earlier Ubuntu-versions.

View 2 Replies View Related

Ubuntu :: Partition Size After Move Using Clonezilla?

Sep 3, 2010

I used Clonezilla to image a Ubuntu partition of 18GB and restored it to a partition of 30GB. (showing as "sdb1") I understand now that I should have put it onto a partition the same size as the original and then resized that partition with Gparted, but I put it directly onto a larger partition and thought all was well, but now I'm running into disk space warning messages. It still works fine but the OS still seems to think it is still on an 18GB partition and that it is running out of space. The partition "sdb1", is on a large drive I partitioned with Gparted. The various utils I have to look at partitions do not agree:

*Disk Utility reports sdb1 size as 33GB
*KDE Partition Manager reports sdb1 size as 30.28GB with 15.59GB used (therefore 14.69GB free)
*KDiskFree reports sdb1 size as 18.3GB with 1.8GB free
*Gparted reports sdb1 size as 30.28GB with 27.54GB used
*Gparted (used after booting from a Mint installation) give same result
*PROPERTIES (using live knoppix DVD) shows size of files as 16.0GB (16.5GB on disk)

After booting with Knoppix DVD and trying to copy everything onto another drive (to see how many GB there are) gives "invalid or incomplete multibyte or wide character" error message. how to sort this out, without resizing the partition as I've got a lot of data on the HD now.

View 1 Replies View Related

Ubuntu :: Move M /home Directory To New Partition?

Jun 22, 2011

How do you do this without breaking all the links and preferences in /home? Does the system take care of everything? Has anyone done it or is it actually system crippling?

View 2 Replies View Related

Ubuntu :: Grub - Lost My Windows Partition - Can't Find Menu.lst In /boot/grub

Nov 1, 2010

I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.

After "fdisk -l",

I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?

View 24 Replies View Related

Ubuntu Installation :: Disk Failing - Need To Move GRUB

Apr 18, 2010

My boot disk is failing! I am a little nervous, so I'd like to have extra eyes on this so that I don't fubar it.

My setup is as follows, with WinXP and Ubuntu living on completely separate drives:

The boot disk (WinXP with grub2 on MBR) is failing. I need to replace it, pronto.

Do I need to get any data from the MBR on the failing disk before removing it?

Should I make the Karmic disk bootable and install grub on it before removing the failing boot disk?

Once I have Windows (re)installed on a new disc (which will still be /dev/sda) I want to install GRUB2 to its MBR and re-instate the old (current) boot options. How should I do this?

View 7 Replies View Related

Ubuntu Installation :: Move /home To A Separate Partition?

Jan 11, 2010

I want to move my home directory to a separate partition so I can install the new versions of Ubuntu without losing my data. And while I'm at it, what other important directories should I move to separate partitions? And how do I do it? I'm guessing that the /boot directory should also be moved to its own partition too, yes? Because it has the GRUB in it, and if I removed Ubuntu to make way for a newer version of Ubuntu, I'll just get an error because the computer can't find the GRUB that doesn't exist anymore, right? And also, if I move those important yet-to-be-listed directories to their own separate partitions, how large should those partitions be?

I don't want to miss out on the upcoming Lucid Lynx (If it will work in the first place, of course ) By the way, I have an Ubuntu-Windows XP dual-boot system. I'll attach a screenshot of my partition table from GPartEd. You can see that I have about 300 GB. The largest partition is Ubuntu.

View 8 Replies View Related

Ubuntu Installation :: Create Resize Move LVM Partition ?

Sep 2, 2010

As mentioned here I am planning on installing with encryption. This involves using LVM in the partition scheme.

I am following this guide here which uses Mandriva to do the installation. [url]

However, I notice that GParted doesn't seem to have any support for LVM, which is going to be a pain in the rear if I subsequently try to add Ubuntu to the Mandriva boot setup.

The problem I have with DiskDrake (Mandrivas partition editor) is that it only seems to be able to put partitions at the beginning of the drive and it doesn't seem to be able to move partitions. e.g. if I want to create a new partition at the end for swap and leave some unallocated space in the middle for my future Ubuntu installation I am stuck. GParted allows me to create at the end or effectively move it by resizing the beginning and end of the partition.

DiskDrake allows me to create and edit LVM partitions.

Is there perhaps another partition editor that does both? Or maybe a development version of one that does it? Or some option I am missing?

View 2 Replies View Related

Ubuntu :: How To Appropriately Move Partitions Into Extended Partition

May 28, 2011

I'd like to create a swap partition having already reached the four partitions per disk limit. So I'd like to create an extended partition and move some partitions into it. The question is which partitions to move and where to create the extended partition.

Some partitions have so much data that I cannot back them up, so I'd prefer to avoid performing operations that might risk them.

By the way, is there a command line tool that provides equivalent output as gparted?

View 2 Replies View Related

OpenSUSE Install :: How To Move The GRUB

Dec 2, 2010

I had a Win7 laptop with Win7 installed on the single internal drive. Attached to this is an eSata external drive.I installed Suse on the external drive. The install is good. I have enabled the Win7 OS in GRUB.When the eSata is plugged in I am able to boot and choose which OS I want.When the eSata is unplugged, the boot fails with the following message:

Code:

GRUB Loading stage1.5.
GRUB loading, please wait...
Error 21

I assume, what I need to do is to move the GRUB install to my internal drive.How do I do this? Indeed can I do this?Or can I re-enable the Microsoft BootLoader and tell this bootloader to load either OS?

View 2 Replies View Related

Debian :: Move Files From Old Partition?

Aug 21, 2010

Had a bit of a partition nightmare during an install, involving my home directory.

My partitioning looks like this and my install is still completing:

sda1=/boot
sda2=/
sda3=swap
sda4=/home

My old home partition and data is located in a partition that I preserved, called /homebak and is on sdb.

Once my install is complete, what is the best way to move the data from /sdb1 (homebak) to my newly created /home?

For the record, I tried to copy the partition during set-up, but something wasn't happy.

I've got my important files backed-up, but would prefer not to lose about 5 gigs of music and video.

View 8 Replies View Related

Debian Configuration :: /tmp Move To A Different Partition

Jun 13, 2011

I got a mistake during my installation on my server. I put the "/tmp" folder to the 2nd disk without thinking. My 2nd disk has only this folder and partition. How can I move the "/tmp" folder to my first disk in a different partition safely? It would be great if I won't destroy the server.

I would like to do the following:

1. move "/tmp" to disk 1 (sda). I will resize the "/home" partition(reduce) and put the "/tmp" there.

2. I will put "/backup" on the disk.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved