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


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 :: 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 View Related

Fedora :: Get The Graphical Screen Back By Adding Vga=795 To /boot/grub/grub.conf

Nov 21, 2009

since i have installed the nvidia drivers i have lost the graphical boot and just had a bar at the bottom of the screen instead. i tried to get the graphical screen back by adding vga=795 to my /boot/grub/grub.conf but when i rebooted not only did i not get the graphical boot or the toolbar at bottom.

i got list of all the drivers and services it is starting with ok next to it. i have also since doing this lost the bit when restarting or shutting down getting the words restarting or shutting down and just get blank screen with flashing cursor. i removed the vga=795 and i still get the list of drivers/services loading.

how do i get the quiet option back. i have checked /boot/grub/grub.conf and it has the quiet in it.i have also tried running update-grub but get message command not found. i have attached the grub.conf file

View 3 Replies View Related

Fedora :: Could Not Open The File /boot/grub/grub.conf?

Aug 31, 2010

I would like to modify the boot loader settings and triedo open the file grub.confHowever, it is said that the file could not be opened, as seen in the attachment.Tried to authenticate as 'root' before opening the file, but the problem still exist...

View 10 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

General :: "/boot/grub/grub.conf: No Such File Or Directory"?

Jul 3, 2010

I just recently installed a kernel, everything works fine after reboot except. When I use nano -w /boot/grub/grub.conf I get /boot/grub/grub.conf: No such file or directoryIs there something i have to do after installing a new kernel in Gentoo Linux.I can't access my /boot all that appears there is a symlink to /boot How can i see my kernels located in /boot.

View 3 Replies View Related

Fedora :: Why GRUB Does Not Display Menu Based On Grub.conf/menu.lst

Jul 28, 2009

I am testing my crash recovery strategy for my linux system and I am having trouble with GRUB. I am basically restoring my backup (i.e. tar) unto a different hard drive, but I am having problems getting the machine to boot without me having to type the GRUB commands at the GRUB prompt that is presented when the machine boots up off the new hard drive. I have tried to restore the MBR in two ways (the 2nd one is the one that gets me to the GRUB prompt):

1. Get the MBR off the original drive and write it unto the new drive (all via dd), but that did not work at all: the machine hangs right away during boot up. It seems to hang right at the point where the BIOS tries to read the MBR.

Code:

On original drive:

# dd if=/dev/sda of=mbr+part.bin bs=512 count=1

On new drive (new drive is now in place of original drive):

# dd if=mbr+part.bin of=/dev/sda bs=1 count=446 conv=notrunc

2. By using the FEDORA rescue CD, I installed grub unto the new hard drive as follows:

Code:

# chroot /mnt/sysimage
# grub-install --root-directory=/boot hd0

reboot and remove FEDORA CD Using the 2nd option above, I get the GRUB> prompt during bootup. I can then boot into the system by issuing the commands that are in the menu.lst file, followed by the "boot" command. However, I would like for those commands to happen automatically, just like in the original configuration. It seems to me that GRUB is actually finding all its stage files because I doubt the GRUB program (the one displaying the prompt) fits entirely in the 446 bytes it has on the MBR. So, it must be loading its stage 2 (and stage 1.5??) files from my /boot partition. However, if GRUB is loading its stage files off the boot partition, why does it not load/read the menu.lst/grub.conf contained in the boot partition also?

Code:

# ls -l /boot
total 22888
-rw-r--r--. 1 root root 1274567 2009-05-27 16:39 System.map-2.6.29.4-167.fc11.i686.PAE
-rw-r--r-- 1 root root 1274538 2009-06-16 22:27 System.map-2.6.29.5-191.fc11.i686.PAE

[code]....

View 3 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

Red Hat :: Cant Fix Missing Grub.conf?

Dec 8, 2010

I am trying to fix missing grub.conf on RHEL5.I booted from installation media > entered Rescue Mode > issued following cmds:

chroot /mnt/sysimage
grub-install /dev/sda1

:I get a message that installation is finished with no error and a device map is created.
when i reboot (without installation media) i land up at grub>from grub> i did followingroot (hd0,0)setup (hd0)and got successful installation message.On rebooting I again get the grub> prompt

View 7 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

Fedora Installation :: F10 Boot Using Grub.conf - No LVM

Apr 14, 2009

I've installed Fedora 10 on the third partition of an external HDD. It has with the following partitions:

(hd0,0) - GRUB bootloader files [PRIMARY]
(hd0,1) - Chainload LILO for another Linux [PRIMARY]
(hd0,2) - Fedora 10, no LVM or Swap (labeled F10) [PRIMARY]

I'm trying to boot Fedora 10 using the following grub.conf:

[Code]....

View 3 Replies View Related

Fedora :: Booting Mandriva From Grub.conf?

Sep 9, 2009

What is the configuration issue in the other-than-Fedora-11 stanza below that prevents that OS from booting? That stanza is taken directly from the /boot/grub/menu.lst of that OS, whose root partition is on sda5. All I get upon choosing the menu entry is a blinking cursor and a steady HD light. obsessing over this for a couple of weeks, reading what I can find about grub configuration but without joy.

Here is /boot/grub/grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.

[Code]......

View 7 Replies View Related

Fedora :: Kernel 2.6.31.6-145 X86_64 Grub.conf?

Dec 3, 2009

The latest update changed the default boot from 0 to 1 and added extra parameters to the new kernel boot line.

default=1
timeout=8
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
# hiddenmenu
title Fedora (2.6.31.6-145.fc12.x86_64)
root (hd0,7)

[Code]...

View 1 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