Software :: Moving Boot Partition Which Uses Grub ?

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


ADVERTISEMENT

General :: Fix Grub After Moving Root Partition?

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

Debian :: Boot - After Moving /usr To Own Partition ?

May 18, 2011

I'm running Debian Wheezy on a Dell XPS M1530 laptop, 64-bit.

I'm having a boot problem after moving my /usr directory out of the root partition and into its own partition.

I followed the "easy way" here: [url]

Basically, I moved the contents of /usr to a new partition -- renamed /usr in root to /oldusr -- and edited fstab and tried to reboot... but the boot process wasn't able to find the new /usr.

After using /dev/sda7 in fstab (to no success) I ran blkid to find the UUID and used that (again, to no success).

My fstab is below:

For what it's worth, grub is also looking different -- none of the debian backgrounds that were there previously remain. While it lists the same kernels to boot into the boot (as described above) fails.

View 14 Replies View Related

Ubuntu :: How Safe Is Moving A Boot Partition

Mar 2, 2011

Using gparted as shown on the partitions in the image:

sda1 is Windows 7
sda2 is swap
sda3 is root
sda4 is home

I'd like to move sda4 to the end of the drive, thus shrinking it by 20GB, and shunt every other partition along to make an extra 20GB for sda1 at the start of the drive, and expand this partition into the 20GB of space I created.

When I start moving and shrinking sda4 (before I apply and execute the command) I get a warning saying that it is very dangerous to move a boot partition and it could render my system unbootable etc etc.

How safe is it to do this? If I bork it, can I recover easily?

I assume the error has something to do with start/end disk sectors in the grub2 list (however this works these days). In short, messages like this do what they should and scare me just enough to seek assistance from this wonderful online community!

View 6 Replies View Related

Slackware :: Fail To Boot After Moving The Partition ?

Dec 16, 2010

I have a system which previously have 3 OS installed on one physical HDD; WinXP on sda1, Win7 on sda2 and Slackware linux on sda3. Lilo is used as the boot loader.

Recently I bought another HDD and decided to reinstalled my Win7 on it and I use GParted to move Slackware to the original Win7 slot on my first HDD so now my Slackware partition has been move from sda3 to sda2.

I modified the /etc/lilo.conf file so that it reflects the new Slackware partition and run lilo to installed it.

The lilo installed correctly I can boot into WinXP and Win7 without problem but when I try to boot into Slackware, it fail at the root filesystem check, apparently the e2fsck still try to check sda3.

Is there anything that I can do to correct the problem without having to reinstall Linux?

View 4 Replies View Related

Fedora Installation :: Moving - Boot To A Separate Partition ?

Apr 23, 2009

Trying to dual-boot OpenSolaris and FC10 is difficult because Solaris grub doesn't know about ext3 and Fedora grub doesn't know about ZFS. I was able to rescue my FC10 installation by creating a new FAT16 partition and restoring /boot to it from a dump, and then doing a grub setup to it. A complication is that anaconda doesn't seem to be able to find /dev/md0 (both the Solaris and FC10 installs use mirrored disks).

This process moved the FC10 ext3 partition from /dev/sda3 to /dev/sda4, but the other half of the mirror is still /dev/sdb3.

When I boot FC10 I get a "can't load image" error from grub, but it still loads FC10 successfully. It makes no difference if menu.1st/grub.conf has "root (hd0,1)" (the FAT16 partition) or "root (hd0,3)" (the FC10 ext3 partition).

If a future yum update were to try to install a new kernel, my FAT16 partition would not be updated. It seems to me both these problems might be solved if I could move /boot from /dev/md0 to /dev/sda2 (/dev/sda2 is the FAT16 partition).

Rather than go through yet another install, would the following work?

from FC10, move /boot to (say) /boot.0
mkdir /boot
edit fstab to include "mount /dev/sda2 /boot"

If I try this and it doesn't work, I can't see any way to undo it since anaconda doesn't seem to be able to mount /dev/md0. If a grub guru sees this, perhaps they could suggest a better alternative, or if not, whether this will work or not.

Additionally, although there are two alternatives in menu.1st/grub.conf, grub doesn't display a menu - it goes directly to boot. Any idea why? I suppose this might be a Solaris stage1 grub problem...

Since FAT16 doesn't support links, it isn't possible to link grub.conf to menu.1st. Are they both required?

View 2 Replies View Related

Fedora :: Boot Hangs After Moving Partition In GParted

Mar 25, 2011

I moved my /var partition using Gparted Live CD version 0.8.0-3. Everything went fine. But when I boot my Fedora 14, I get error message (something like "name_count maxed, losing inode data"). Maybe there are other error messages as well, but they scroll away very quickly. Is there any way to slow them down?

But the boot hangs after starting udev and setting host name to localhost.localdomain. It just hangs there. If I press the [Caps Lock] key, it toggles the Caps Lock LED. If I boot the installation DVD in Rescue mode, it mounts all partitions without problems, and the data is there.

View 1 Replies View Related

OpenSUSE Install :: Moving Boot Partition Resizing LVM

Jan 30, 2010

A while back I ran into the situation of running out of space on /boot. When I last installed Suse I just went with the recommended LVM layout, which proposes a very small /boot partition. When you run out of space you are now faced with resizing the LVM, which Gparted unfortunately does not support.In Googling around I did not find a concise guide, so I collected the information I needed and and then wrote a guide on the steps I used to resolve this issue and it is available at Resizing Default LVM Partitions and Moving /boot - Mine the Harvest

I found using EVMS from a live CD to be quite simple and was able to create a new /boot partition and reconfigure grub to use it in very short order. I was quite impressed with how easy to use EVMS was and the options it provides. (I think that the default LVM layout the Suse installer proposes is overly conservative on the size of the /boot partition. Why not allocate a few hundred megs, especially considering the size of drives today? Perhaps Suse will soon move to using grub2 and eliminating /boot altogether, but for now the very small allocation of space can be a bit of a pitfall for users -- especially when they are not familiar with resizing LVMs and reconfiguring grub. Of course moving to grub2 also introduces its own complexities too.)

View 2 Replies View Related

Ubuntu Installation :: Moving Away From Dual Boot / Grub Setup?

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

Red Hat / Fedora :: Moving To Different Server - Won't Boot Past GRUB / Sort It?

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

Ubuntu :: Won't Boot After Moving To New Hard Drive And Partition Structure

Dec 9, 2010

Old drive is dying, so I copied the system over to my new drive. I've moved /home and /tmp to separate partitions and updated fstab and grub with the appropriate UUIDs from blkid. Grub wasn't loading but that's been fixed now.

Problem:

The problem now is that when I boot I get the following screen:

Errors were found while checking the disk drive for /

Press F to attempt to fix the errors, I to ignore, S to skip mounting or M for manual recovery

F doesn't work, and in manual recovery the file system is read-only. How to proceed?

View 9 Replies View Related

Debian :: Boot Fails With Kernel Panic After Moving To A New Partition

May 16, 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]

So 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. I updated UUIDs in grub's configuration as suggested in this thread:[url]

But now it fails to boot with the following error:

Code:

I checked the filesystem on this partition and its fine. I tried to recreate the initramfs from Knoppix:

Code:

But it didn't change anything.

How can I either fix it or install a different kernel on this drive so I could boot into it and re-install my default kernels?

View 3 Replies View Related

OpenSUSE Install :: Grub Boot Image Randomly Changes And Sometimes Into Penguin Moving Around

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

Ubuntu :: Dual Boot Natty/Win7 - Moving Home To Windows Partition

Jul 11, 2011

I know it is possible to move the ubuntu home directory but what is the best way to move it safely to an NTFS partition that already has valuable data in?

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

General :: Grub Loader Can't Boot From Partition But Other Boots Can See Partition?

Feb 25, 2010

I having a problem getting my grub loader to see one of my hard drives. I added a drive, and my grub loader lost track of where everything was. I couldn't get my old linux (Red Hat 9) so I installed SuSe on my new hard drive. But I need my be able to boot from my old hard drive because it has apps that only run on the earlier version. From /proc/partitions the old hard drive is sdd

major minor #blocks name
8 0 976762584 sda
8 1 2104483 sda1
8 2 20972857 sda2

[code]....

View 27 Replies View Related

Ubuntu :: Use A Windows-based Recovery Partition On A Dual-boot Computer To Overwrite Partition And Remove GRUB Loader?

Mar 9, 2010

is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?

View 4 Replies View Related

General :: Windows - Deleting Linux Partition And Grub Boot Loader Without Affecting The Windows Partition At All?

Aug 30, 2011

I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.

View 2 Replies View Related

Debian Installation :: GRUB In Boot Partition?

Jun 19, 2012

I am new to Debian but have some basic experience with Linux and am currently trying to triple boot Windows 7, Fedora 16, and Debian on an HP Pavilion dv7. I have the Windows Boot Loader on my MBR because I've heard that Windows updates can cause boot issues if GRUB is installed there. This means that I've been installing GRUB in the /boot partition for each Linux distro and creating corresponding entries in the Windows boot menu.

This has worked in the past with both Fedora and Ubuntu, but I have not been able to work around it with Debian. When I choose my Debian option in the Windows boot loader, it loads GRUB but hangs after it prints "Welcome to GRUB!", and I have to restart the computer. I would like to hear what more experienced Linux users have to say both about why this isn't working for Debian and about if keeping the WIndows boot loader is the right way to go.

Also, here is my partition layout:

Partition 1: SYSTEM (HP pre-installed) (209 MB)
Partition 2: Windows Partition (472 GB)
Partition 3: Extended (160 GB)
1: /boot for Fedora (524 MB)
2: Physical Volume for other Fedora partitions (79 GB)
3: /boot for Debian (749 MB)
4: Physical Volume for other Debian partitions (80 GB)
118 GB free space
Partition 4: HP_TOOLS (HP pre-installed) (108 MB)

View 14 Replies View Related

Fedora :: Change Boot Partition With Grub?

Feb 24, 2010

I have fedora 12 installed on a laptop with an LVM partition, /dev/hda5 logiacal partion in the /dev/hda4 one, a boot partition on /dev/hda3 and a FAT on /dev/hda2 for win data. There was also a 10GB free partion left from older works on /dev/hda1. Now the /boot partition was set to only 0,2GB and this conflicts with the kernel updates. I freed the 10GB section, formatted it to ext 4 and copied all stuff from the /boot sector on it. now the old /boot is mounted in the grub.conf on a UUID and not the /dev/hda3 as it comes up on fdisk.

I would now like to swith the boot from the small /dev/hda1 partiotn to the larger /dev/hda3 one, but don't know how to manage it with grub (fedora, i understand it's grub-legacy).

View 1 Replies View Related

Fedora :: Fix Grub /boot Is On A Standalone Partition

Sep 5, 2011

I'm using fc14, and put the /boot directory on a standalone partition. Now, there's something changed in MBR, and the grub has been overwrote, now I wants to fix the grub by another bootable usb-disk with grub, to use 'setup (hd1)' to fix it. but the situation cause the /boot has nothing and the partition contain essential files does not under the directory 'boot'. then setup failed.

View 3 Replies View Related

General :: DOS Partition Won't Boot With GRUB / Make It Possible?

Oct 4, 2010

I'm trying to install MS Windows from my Linux box. Because I have no CD drives nor USB ports, I can't use any live media to boot the computer and install Windows from the installation disk. So I've created a FAT partition and copy DOS files on that, so that I can boot this partition and install Windows from there. But the problem is I still haven't able to get it to boot.

Here's the output of fdisk -l code...

I created the partition by using cfdisk to format it as type 0B: WIN95 FAT32, and made dos filesystem on it using:

Code:
mkfs.msdos /dev/hda1
But when I reboot and select the DOS entry in GRUB, it tells me that:
"This is not a bootable disk. Please insert a bootable floppy and press any key to try again."

what I'm missing or doing wrong here? Do I need to change something on the MBR of hda1 etc...

View 4 Replies View Related

Software :: GRUB Won't Boot From XFS Partition Gives Error 21.

Apr 17, 2010

GRUB (0.97) won't boot the XFS partition that holds my new Arch Linux install, instead giving an error 21. I am able to boot my system using GRUB on the Arch Linux install CD - having to manually edit the commands each time.

This holds even after I updated all software and then reran setup from the grub shell. I made sure to install to the MBR not the partition (the latter I believe trashes XFS).

Googling has found some mentions of trouble, but nothing that seems to clear on how to resolve the issue.

Changing filesystem is not an option - I installed Arch on a drive that already contained all my data. (Which is all fine, I made sure not to format it

View 8 Replies View Related

Ubuntu Installation :: Grub Missing - Able To Boot Into Partition

Apr 10, 2010

I had a dual boot system(WinXP and Ubuntu). But something happened and I was not able to boot into my Ubuntu partition. It gave GRUB missing error. I tried reformatting the dedicated 40 GB ubuntu partition to NTFS and again try to reinstall ubuntu. But now, when I install ubuntu through boot time install, it shows that my whole hard disk is empty( but I have windows XP on whole hdd at the moment) and do not give any other option but to use whole hdd.

Alternatively when I try to install it inside windows, then after rebooting it shows, no root file system defined error and neither gives any option to do so also ( this method worked earlier o my PC). At the moment, It still shows ubuntu and windowsXP at OS choice menu at boot time but when booting in ubuntu, it shows GRUB missing. (I don't have any ubuntu installation on my hard disk at the moment).

View 5 Replies View Related

Ubuntu :: Boot - Error: No Such Partition: Rescue Grub?

Jul 8, 2010

then my computer starts black window opens error: no such partition grub rescue>

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Cannot Use Separate /boot Partition With Grub 2

Aug 25, 2010

While installing with a separate /boot partition I cannot get two distinct copies of ubu installed on one machine and be able to choose between them. Each is installed on a different hard drive. x64 versions. I've had this issue both ways:

Stepsinstall mythbuntu
install ubuntu
Result

Two entries in grub. Both cause ubuntu to boot

Stepsinstall ubuntu
install mythbuntu
Result

Two entries in grub. Both cause mythbuntu to boot Grub 2 is so unfriendly for fixing these things. I don't know where to make changes. Ok, Grub 2 is very powerful, maybe it's the lagging documentation, or lack of tutorials that is the problem. But I don't know how to fix this. Do I start over without the /boot partition? Do I bail on ubu?

View 9 Replies View Related

Ubuntu :: Install The GRUB Boot Loader On New Partition?

Oct 11, 2010

I want install 10.10 Maverick on a new partition alongside my OS X and 10.04 Lucid installs to see if it works on my machine. I'm a little unsure about some things.

1)Do I need to install the GRUB boot loader on this new partition?

2)Can I use the same swap space or is recommended to create a new swap?

View 5 Replies View Related

Ubuntu :: Partition With Grub Corrupted - On Dual Boot - What Next

Nov 8, 2010

I have a dual boot drive, one is WinXp the other Ubuntu 10.04. I don't know why, but my ubuntu partition became corrupted (booting from live cd and inputing fdisk -l in the terminal, shoes my partition as unknown type) My Grub was on this partition, and therefore I cannot boot neither one of my two OSs. I would like to recover my linux partition, I figure I can do that only from my WinXp partition, but I don't know where and how to install Grub.

Also, If anyone knows how I could recover from the live CD without booting Windows, please speak up, that would make everything much easier. Another thing, it would be just super if I could recover my whole partition, not just the data, because I would hate to reinstall all the stuff that I had on my Ubuntu.

View 1 Replies View Related

Ubuntu Installation :: Edit Grub To Boot Different Partition?

Feb 3, 2011

I'm dual boot with Vista(TM) and UBUNTU(tm) and ran out of space on Ubuntu partition:I booted Ubuntu 10.04LTS live CD and shrank the VISTA. It would NOT let me grow the extended partition? So now I have:

sda1 ntfs /media/TOSHIBA_SYSTEM_VOLUME 1.46GB
sda2 ntfs /media/SQ004588V03 88GB
sda4 ext3 THIS IS MY NEW PARTITION 15GB

[code].....

View 9 Replies View Related

Fedora Installation :: GRUB/LILO: Getting The Location Of The Boot Partition?

Feb 13, 2009

I somehow recalled a rule re the location of the boot partitions with LILO being required to be in the first part of the drive (1024 cylinders, it seems) and I found it indeed in an old doc:

Boot Partition: Your boot partition ought to be a primary partition, not a logical partition. This will ease recovery in case of disaster, but it is not technically necessary. It must be of type 0x83 "Linux native". If you are using lilo, your boot partition must be contained within the first 1024 cylinders of the drive. (Typically, the boot partition need only contain the kernel image.) Is this still valid in GRUB, esp in Fedora 10?

View 5 Replies View Related







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