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


ADVERTISEMENT

Ubuntu :: Moving A Partition - Unmounting Root ?

May 11, 2011

I want to move my / partition to the end of my drive (sda). To do this with gparted, I have to unmount it, but I'm not comfortable with the idea of unmounting root partition... Should I do it from a live cd? More important : is the operation safe?

View 5 Replies View Related

Debian Configuration :: Copying / Moving Root Filesystem To Another Partition?

Mar 4, 2010

My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?

View 8 Replies View Related

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

Debian :: Jessie-grub On Root Partition

Feb 7, 2016

i use a 3rd party boot mgr.i installed jessie over etch on my old computer & only choice i saw for grub was sda & sdb where i wanted to install on sdb9.i tried installing it from my wheezy partition & it did but i ended up with 2 boots to wheezy.so i went back to etch.

my question is how to get grub on sdb9 like it was on etch.is there a trick or did i miss a prompt? on another note, that bug where the format hangs if you try & install over an old system is a little irritating. can't believe it hasn't been fixed.

View 4 Replies View Related

Ubuntu :: 10.04 LTS - Installing Grub On Root Partition?

Jul 28, 2010

I want to install grub on the ubuntu root partition because I have another boot loader (boot-us). But when I reach : device for boot loader installation and set the device to the root partition (/dev/sda3) the OK button is not highlighted, I can use the windows partitions but not ubuntu root partition, what goes wrong?

View 3 Replies View Related

CentOS 5 :: Write Grub Into A Root Partition Instead Of MBR

Aug 29, 2011

Howto write Grub into a root partition instead of MBR on Centos 5.6 using CentOS-5.6-i386-LiveCD?

View 1 Replies View Related

OpenSUSE Install :: 11.3 Grub Bootproblem MRB Vs Root Partition

Jul 22, 2010

First upgrade to 11.3 no problem. Then I got a disk issue. so got an old 80 gig sata drive, config new partition table, format etc. Install perfect as ever.

Then grub failed ....no grub menue.

I changed to MRB boot. this worked but initrd takes a long time and sometime hangs ?!? What could be the issue ? Harddrive?!

View 5 Replies View Related

General :: Moving A Partition With Dd To Another Drive

Dec 7, 2010

Lets say I have /dev/VolGroup00/LogVol00 which is a 5.8 GB ext3 partition that resides on a 10GB drive. This is just a logical volume partition, one of a few... this being the one that isn't swap, the main data.

I have a 20GB drive... I want to move the LogVol00 to it, and it is /dev/sdb. I partition /dev/sdb1 to be 8192 MiB in size in gParted.

I move as such:

dd if=/dev/VolGroup00/LogVol00 of=/dev/sdb1

The operation finishes with no problems.

Fsck reports clean... so... I run:

fsck -l /dev/sdb1

A few small errors pop up and they get fixed.

My free space remaining, as expected, is 5.8 GB.

I go into gParted and resize the partition to 15GB in size, still working on the 20GB drive.

It does so, the operation completes.

I have what I want: the partition was taken out of LVM, data was retained, I have no issues resizing it. Additionally I tried writing random junk to this new filesystem to test to see if it's broken, and also deleted 3gb of files already on it with no problems.

I just want someone to look this over and tell me if they see any problems with what I've done. I've tested this twice so far with success each time. Is there a better or easier way to do this? I do not want to keep LVM for various reasons. By the way, you might be wondering why I made the partition 8GB for an almost 6GB system. Because the first time I did it, I put down a number that was too exact and it didn't work. Overestimating to 2GB fixed the issue - I'm guessing this is probably due to block size.

View 5 Replies View Related

General :: Moving Users To Another Partition ?

Apr 26, 2010

I have 2 harddisks, and a very new SuSE 10 installation.

Suppose I have a user called test in the users group. At present its home directory is /home/test. This is on one of the harddisks, sda.

Now I have a partition on the other harddisk /other. I would like all my users to be on sdb, so that their home directories are /other/users/test for instance for the test user.

I have played around with YaST to create another user "toets" in /other/gebruikers, but I would like to have it as /other/users/toets.

I want all the user accounts on /other.

View 7 Replies View Related

General :: Moving A File To The Root Of The Drive Via Command Line

Oct 17, 2010

How can I move a directory to the root of a drive via command line?

In MS-DOS it would be 'move C:/GAMES/QUAKE C:/'

What is the equivilent in Linux?

View 8 Replies View Related

Fedora :: Root User - Edit A Grub File In A Separate Partition

Nov 27, 2010

So I need to become the root user in order to edit a grub file in a seperate partition, so I can get back into this partition. How can I become and stay as root user in the desktop environment? (I know you shouldn't do this, but I need it.)

View 10 Replies View Related

Ubuntu Installation :: Configure GRUB For A Union Root Partition (aufs)

Apr 7, 2010

As recommended, I'm creating a new thread for my configuring GRUB problems commented first hereWe are setting up a new version of a custom system, we are migrating to Ubuntu Karmic from another distribution (Slackware). Besides small differences between these systems (most of them from the most recent versions of software used by the latest Ubuntu, such as GRUB 2), it has been decided that the new system will run an union root partition using aufs and tempfs, basically, we are following the steps provided heree install the system to a new hard drive from an already running Ubuntu Karmic system, usingdebootstrap/chroot, we move the disk to another sytem, so we have to correct disk references, we are able to run this system and it behaves correctly the first time it boots, it bypasses the GRUB menu since there are no other systems detected. However, after halting the system and booting it, the GRUB menu appears with a new "recovery" option, we've managed to remove this recovery option usingGRUB_DISABLE_LINUX_RECOVERY=trueBut then, the GRUB menu appears again, this time with only one option to boot: our system installation. But when this GRUB menu appears, it has no default timeout and so it stays forever unless ENTER is pressed to boot into the selected entry.

The main problem is that we are unable to configure GRUB inside the new installation because it always returns this message:grub-probe error cannot find a device for /If we boot the system "normally" (mounting root to a normal partition), we are able to configure GRUB properly, but it does not behave the same when using the union file system as /We are only looking for a way to bypass the GRUB menu and boot our system, do you have any advice on how to properly configure the GRUB menu for our system

View 3 Replies View Related

Ubuntu :: Moving Files In Terminal \ Moving Files That Have Root Permissions?

Mar 4, 2010

I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.

View 3 Replies View Related

General :: Moving A LVM/LUKS Encrypted Partition To The End Of A Harddrive?

May 16, 2011

I need to move a LUKS encrypted partition to the end of a harddrive to expand another partition. Does anyone know how to do this?

Is it possible to do this with other partition editing programs?

Gparted doesnt support LUKS/LVM

View 1 Replies View Related

General :: Defined Root Partition Not Created A / Boot/efi Partition?

Aug 31, 2010

when I tried to install Fedora on my pc, I got this error message " Defined Root partition not created a / boot/efi partition. I am trying to install it on a seperate hd. My main one has windows xp pro, but I do not want to interfer with that at all?.

View 14 Replies View Related

General :: Moving Install To New Hard Drive (Fc12) Mount - Grub.conf, And Rsync?

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

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 Installation :: Moving Over Root And Home Into New 9.10

Jan 17, 2010

I have a IBM T42 (using it now to write this) and a newer Lenovo T500 (with a fresh install of Ubuntu 9.10 on it). I want to take all of my programs and config of those programs, plus all my /home directory information/files/hidden files all over onto the new machine. There may be other stuff I need to take over to, and don't know enough about to comment here.

But basically I want my new system to look and work like my old system, with all the same programs and user data, all configured in the same way. Is there a way to do this over the network or another way? I can't even get the two systems to see each other over the network, even though Folder Sharing is enabled and (I think) all the right components are installed. I even checked to see if my user had permission to share files on both machines, and I do.

View 7 Replies View Related

Software :: Moving Root Filesystem To Another Disk

May 19, 2009

I've setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.What I'm going to do now is:

1. Mount the new mirrored filesystem under /root1
2. use find | cpio to copy everything from the existing / to /root1
3. use grub to create a boot record on /root1
4. edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 3 Replies View Related

CentOS 5 :: Moving Root Filesystem To Another Disk?

May 19, 2009

Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.

What Im going to do now is:

1.Mount the new mirrored filesystem under /root1
2.use find | cpio to copy everything from the existing / to /root1
3.use grub to create a boot record on /root1
4.edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

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

Fedora :: Moving /usr To A New Partition

Jul 31, 2011

I'm running Fedora 14 as a KVM guest on a CentOS host. I decided to give preupgrade-cli a shot to get Fedora 15.

After reboot, I got a not enough free space error, so I decided to add another virtual drive and move /usr to it.

The partition on the new drive is ext4 formatted (just like my / partition)

Code:

Then I mounted the new partition on /newusr, and copied the files using cp and rsync

Code:

Code:

I also tried rsync without the HAX options, same results.

I then changed my /etc/fstab to reflect the new /usr

Code:

Then I reboot and watch the booting process, it fails first at loading NetworkManager, then elsewhere, and system stops. Of course I could revert back using a live CD and try all the other options, but nothing works for me.

There is an error in /var/log/boot.log, but I don't think it is related, as it shows when booting normally as well.

Code:

View 4 Replies View Related

General :: Can't Log In / Root Partition Full

Jun 15, 2011

I am having trouble logging into my ubuntu 11.04 desktop. When I type my username and password to login my screen goes blue, as if it is going to next show my desktop wallpaper, but then it loops back to the login screen. I had no idea why and so I went to ALT-F1 and typed in "df" and it turns out that my root partition is full. This is strange since I set aside 40GB for it and I didn't install anything or that many programs that would fill it up. Anyhow, is this fixable by booting to a live cd and using gparted to make root bigger or is there a better way to fix this?

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

OpenSUSE Install :: Moving Partition To A New HDD ?

Jan 1, 2010

I installed openSUSE 11.2 on an external HDD to test. I think it's brilliant, and want to move it to an internal HDD. What is the best way to do this? I don't want to lose all the programs / tweaks I've made to SUSE so far.

Coming from the Windows' world, it's as easy as taking an image of a partition and restoring it over a new HDD partition.

View 5 Replies View Related

Ubuntu :: Moving /home To Another Partition?

Apr 23, 2010

I know there is a lot of tutorials about this but I`m kind a new in Ubuntu and Linux. I know that it is good to set different partition for /home. But when I installed my ubuntu 9.10 I made 4 partitions

swap
/boot
/ - 40GB
/usr - 200GB

[Code]...

View 2 Replies View Related

Ubuntu :: Moving To Dedicated Partition?

Jun 17, 2010

right now i m using ubuntu 10.04 installed on virtual hard disk (wubi), but now i want to move it to dedicated hard drive partition. i found is to use LVPM however that software is NOT compatible with ubuntu 10.04. . .

View 3 Replies View Related

Ubuntu Installation :: Moving From One Partition To Another

Dec 9, 2010

I work with ubuntu 10.10 64 bit on a hp pavilion 2713ca laptop. Everything is fine presently, except for the fact that I will be soon out of space on the actual sda6 partition (only 2 gig left).

I would like to move the ubuntu partition with all its content to a second one where there is a lot of space, that is sda2. So my question would be twofold.

1) What software can I use to do that (gparted, clonezilla, ... ) and is someone is familiar with the procedure?

2) Will there be an easy way to change the grub.cfg file? (for example, will the command grub update be enough to boot to new setup)

View 1 Replies View Related

Ubuntu :: Stuck On Moving To New Partition

Apr 4, 2011

I have a laptop with a large harddrive. Originally I had the sda1 which was a dell recovery partition, sda2 which is my Win7 partition. I created a new primary partition to try out ubuntu. Falling in love with the OS, I wished to grow the partition but I already had 4 primary partitions.

I deleted my swap partition and converted that to an extended partition, I then grew it to a 100gb extended partition. I created 2 new primary partitions, one for swap and one for the OS..

So my drives are as follows:

This is what I have done thus far:
1. Booted to live CD
2. Mounted /dev/sda4 and /dev/sda6
3. cp -afvR /oldOSPartition /newOSPartition
4. In the NEW OS partition, I updated /etc/fstab to reflect the UUID's of the new disks.
5. I updated /etc/mtools.conf and /etc/mtab as well.
6. I rebooted to old OS partition and ran update-grub && update-grub2
7. I can see the new entries in the grub boot menu
8. I select the kernel entry for /dev/sda6 (NEW OS), it boots, but when I hit the desktop, I open an terminal and do a "mount" and I am somehow still mounted/booted to sda4 (old OS).

From here, I re-mounted /dev/sda6 to a temporary mount point and did a "cd /; grep -r 'sda4' * > /matches.txt"
I also searched for the UUID and I found no matches so I don't know why it reverted to sda4.

Even if I boot to the recovery console entry for /dev/sda6 in the grub menu, same thing, it keeps mounting sda4.

View 9 Replies View Related







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