Ubuntu Installation :: Reinstall Grub2 To Root Directory

May 17, 2011

I was dual booting Ubuntu and Windows, had to reinstall Windows, it wiped out grub, need to reinstall it now. Was following this: [URL]

Trying to reinstall grub with:
Code:
sudo grub-install --root-directory=/media/d566e91e-941f-4433-8dea-05d3bffb5669 /dev/sda6
Gives me the following error:
Code:
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are unreliable and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
*edit more info* Ubuntu is installed on /dev/sda6 on a 50GB partition.

Code:
Device Boot Start End Blocks Id System
/dev/sda1 26 56830 456280064 7 HPFS/NTFS
/dev/sda2 * 56830 56843 102400 7 HPFS/NTFS
/dev/sda3 56843 70981 113561600 7 HPFS/NTFS
/dev/sda4 70981 77826 54979585 5 Extended
/dev/sda5 77096 77826 5859328 82 Linux swap / Solaris
/dev/sda6 70981 77096 49120256 83 Linux

Partition table entries are not in disk order So, I didn't want to do anything and screw things up. I want to boot with grub and not MBR. What should I do?

View 6 Replies


ADVERTISEMENT

Ubuntu Installation :: Restore Grub2 After Windows Reinstall?

Jan 19, 2010

My friend recently re-installed WinXP on his laptop, but I'm having trouble getting Grub2 working. I followed a guide online, but when I booted it back up again, I got a Grub prompt instead of a boot menu.

View 4 Replies View Related

Debian Installation :: Super Grub2 Will Work After Vista Reinstall

Mar 16, 2011

I have a dual boot system. I need dual boot as my dictation software is only available for Windows. In the future I am going to try a virtual machine, but dictation and audio did not work properly the last time I tried in VM. But unfortunately for now I have a dual boot machine with Vista and Debian 6. Unfortunately, I am going to have to reinstall Vista. Or to be more accurate I'm going to install the 64-bit version instead of the 32 bit that came with the computer. I have the 64-bit version that I no longer use from one of my other computers.

Anyway, I have to install Windows which will overwrite my grub2. Is there anyway I can make a backup or reinstall grub2 after I install Windows. I really don't want to reinstall Debian 6 squeeze. Can they make some sort of a backup of gurb2 before I do this. I checked out the Internet and I found something called Super Grub2. It apparently will allow me to boot back into Debain 6 so that I can install grub2 again. Assuming, Super Grub2 even works then how do I reinstall grub2 once a boot into Debian 6? Has anybody tried Super grub2, does it work? It's kind of hard to test it, with a working version of grub2.

View 3 Replies View Related

Debian Multimedia :: Restore Or Reinstall GRUB2 From Squeeze Installation?

Sep 21, 2010

How can I restore or reinstall GRUB2 from squeeze installation? I tried various suggestions from various online articles (most of them for ubuntu), but I couldn't find a solution. Is there any solution, specifically for Debian? GRUB reinstallation from install cd, didn't worked as well. Since I couldn't boot at all, I restored GRUB1 and I'm posting from Lenny, but I can't access Squeeze this way (probably because I have squeeze's partition, ext4 formatted).

View 5 Replies View Related

Ubuntu Installation :: Home Directory Moved After Reinstall

Mar 5, 2010

I have been out of the Linux loop for a while. Prior to the holidays I did something 'stupid' within Wine and ended up taking out my Ubuntu partition to the point where it wouldn't boot. Being that I have a triple boot system and I had plans for the holidays, I didn't want to risk a reinstall in the event that if something went wrong with Grub, it would render my whole system useless. So I waited until now to reinstall Ubuntu. I performed the reinstall this past weekend and for the most part I thought everything went fine, but I noticed something was different with the file system.

When I attempted to load a 3.5gig program into Ubuntu yesterday, I got an error message saying that I don't have enough disk space. I said to my self, "That is impossible as I have a 106gig partition for programs". I have a separated system in which Ubuntu /root has an 8gig partition and the Home partition supposed to be the 106gig drive. I did this in the event I had to reinstall, I wouldn't loose my information. Well apparently something went wrong with the install and it appears that I have two Home folders...one is on the 106gig drive and the other is in the root directory.

Making note of that explained why my program wouldn't load because the root partition is only 8gig. So, my question is this: Can I set Ubuntu back to the old Home directory, or do I have to reinstall once again? As what under my avatar says, I am on Ubuntu Studio 8.04 (Hardy Heron). I stuck with this older version because it has long term support. I have a triple boot system with Windows XP, Puppy Linux, and Ubuntu Studio. I have two SATA 500gig drives with the first drive being home to all the operating systems and programs. The second drive is just for data.

Here is my fdisk -l I put the partitions usage in parenthesis:
geo@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000cf364 .....

View 7 Replies View Related

Ubuntu Installation :: Installing GRUB2 On RAID Root?

Oct 26, 2010

I'm trying to install GRUB2 on root partition under RAID 5. I tried using the alternate CD, but installation failed. Now I'm trying under the live CD and grub-install ... but I'm being told it can't find the device even though /dev/sda2 (root partition) and /dev/sda are mounted.I have 4 discs, each with a swap partition (/dev/sdX1) and a root partition (/dev/sdX2).

View 9 Replies View Related

Ubuntu Installation :: Root Files Uuid Not Found Grub2?

Mar 22, 2010

I have a Netbook Remix install on an SD card that won't boot. Grub2 in the recovery mode shows it fails finding the root files by using UUID. It's my first Grub2 install and I'm not sure how to go about debugging it. The machine boots the same version from a USB stick.

View 1 Replies View Related

Ubuntu :: How To Reinstall The Grub2

Jun 18, 2010

I'm a hardcore ubuntu user and have ubuntu 10.04 on my dell Inspiron 1525. I dual booted it with fedora 13 recently and fedora grub has wiped out ubuntu grub2. I want to re-install grub2.

View 4 Replies View Related

Debian Installation :: Keep Home And Var Partitions Intact And Just Reinstall Everything In Root (/) Partition

Apr 4, 2010

Ok. I have a media server running debian amd64. when I installed it I made separate partitions for root (/) home (/home) var (/var) and swap.

I'm adding some new hardware (mobo and ram) and want to reinstall debian. I would like to keep my home and var partitions intact and just reinstall everything in root (/) partition.

I'm unsure of how to do this during the installation. Do i need to format? how do I tell it to use the /var and /home partitions?

View 4 Replies View Related

Ubuntu :: Reinstall Grub2 From 9.10 Live Cd?

Feb 14, 2010

I want to reinstall windows to its partition on my computer, but I want to be able to restore grub2 afterwards. I use a lot of custom scripts in the /etc/grub.d/ directory on my ubuntu partition, so how can I reinstall grub to the MBR using those specific scripts? Just running "sudo install-grub" or "sudo update-grub" doesn't work for me (I don't know the exact problems, but I can't reproduce it right now). If there's a way to install just the defaults (without overriding my custom scripts!) maybe I can just do that, but I'd really like to put the live cd, run a few commands, and install those custom scripts to the mbr and be on my way.

View 1 Replies View Related

Ubuntu :: 9.10 - After XP Reinstall Grub2 Menu Does Not Show Up

Sep 2, 2010

Firstly I am completely new to linux so I don't know much about it, yesterday I installed win xp on my pc which already has ubuntu 9.10 karmic koala installed on a separate partition,after xp was installed and when it rebooted, a dos screen showed up with sh:grub> command ,how do i get to the grub menu where i can boot into xp or ubuntu?

View 3 Replies View Related

Ubuntu :: Grub2 Reinstall - Only Windows Shows Up In Menu

Aug 9, 2010

I recently (for about the third time) HAD to re-install Windows 7. It just wouldn't boot and unfortunately I have some proprietary software that I need to use. Anyway, this is the first time I've had to do so since installing Lucid (64bit, fresh install). My problem now is, when I re-installed Grub2 (using the same methods that have previously worked flawlessly) to recover it after re-installing windows, only windows shows up in the grub menu, showing options to boot to Windows on sda1 and another to boot to Windows on sda2.

I grabed a "boot info script" from Rubi1200 and this is what I got..
Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for /grub .....

View 7 Replies View Related

Ubuntu :: Grub2 Settings Not Retained - Reinstall Grub?

Aug 14, 2010

This is closely related to a recent thread of mine that I unfortunately marked as solved prematurely. I'll try to keep it brief this time. After editing partitions I was left with a boot problem, namely "error: no such partition" and I am dropped at the 'grub rescue>' prompt. I can issue the appropriate grub commands and successfully boot the current kernel. Once booted, I executed 'sudo update-grub' and then /boot/grub/grub.cfg was rewritten with all drive and partition references correct. Likewise, /etc/fstab is also correct.

The problem comes when I attempt to reboot. I still get the 'no such partition' message and the 'set' command reveals that grub is still trying to reference the old partition. I've never encountered this problem before under similar circumstances. I'm guessing that this info must be stored in the disk's MBR as well as in grub.cfg because that file looks completely correct. Am I going to have to reinstall grub now?

View 3 Replies View Related

General :: Reinstall Windows XP Without Cdrom Reader Using Grub2 + ISO?

Dec 6, 2010

It happens I need to use microsoft excel, so reinstalling windows XP. Since I have no cdrom on the pc nor usb cdrom reader, I would like to sort of fake the computer installing using grub2 and booting the iso that I will create

View 2 Replies View Related

Ubuntu Installation :: Reinstall The Games Package Or Reinstall The Update?

May 2, 2010

So I was messing around trying to uninstall Nibbles and reinstall since I have an issue starting that game and something happened and removed the submenu under Games called "Logic", which had another whole list of games.

Is it possible to reinstall the games package or reinstall the update?I'm thinking more of the lines of a system restore or something so back 2 days from today.

View 2 Replies View Related

Ubuntu Installation :: Manually Partition - How Much Do You Allot To Your Root Directory

May 19, 2010

If you manually partition Ubuntu Linux; how much do you allot to your root directory? If someone installs many games and software, should they use a very large root directory such as 30GB or more?

View 6 Replies View Related

Ubuntu Installation :: Mount /dev On /root/dev Failed : No Such File Or Directory

Aug 8, 2010

Ubuntu(10.04) was working fine, then some program crashed or something, and I just switched off (power offed) the computer. When I restarted it, this sort of stuff comes:

Code:

mount /dev on /root/dev failed : No such file or directory

and some more lines like that, and then 'Busybox' starts with [intramfs].I booted Ubuntu from a pen drive and ran fsck on the main partition. I just pressed 'y' for a long time (it asks stuff like should it continue repairing or something), and then it was done. I restarted the pc and it booted normally - it looked as if everything was fine.I started google chrome, and it said it couldn't find a personal config file .. ok. Then I tried opening a folder - nothing happens. The system monitor doesn't open, and windows that do open eventually are completely blank. I restarted the pc (this time by doing the normal restart), and it gave me the same 'Busybox' thing.I did the same procedure again, and got the same results. (ubuntu boots, programs dont work, then I restart and the Busybox thing comes again)One More Thing : The Ubuntu installed on the hard disk had all the recent updates (including the latest linux kernel) while the pen drive thing was around 2 months old I think. So maybe that's the cause?

View 1 Replies View Related

Ubuntu Installation :: Sudo Grub-install --root-directory ?

Nov 1, 2010

If I boot on a live-CD, then enter in a terminal the following commands:

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
sudo umount /mnt

..does it install Grub-pc in /dev/sda1 ? even if Grub was already installed in /dev/sda1 ? Furthermore, are the 3 above commands equivalent to the below ones ?

sudo mount /dev/sda1 /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /sys /mnt/sys[code].....

View 4 Replies View Related

Ubuntu Installation :: Chroot: Cannot Change Root Directory To /mnt: Operation Not Permitted

Feb 20, 2010

I updated my lucid alpha testing (64 bit)install after which I am unable to boot into any of my Ubuntu installs(sda11 has a dedicated Burg partition and sda10 has the stable karmic (32 bit)install and sda9 has the testing lucid install) Now I am trying to recover (rewrite Burg or at least grub2 on the MBR) my installs

This is what happens
custom@custom:~$ sudo mount /dev/sda10 /mnt
custom@custom:~$ sudo mount -o bind /dev /mnt/dev
custom@custom:~$ chroot/mnt

[code]....

i tried a slightly different code with little success

custom@custom:~$ sudo mount /dev/sda10 /mnt
mount: /dev/sda10 already mounted or /mnt busy
mount: according to mtab, /dev/sda10 is already mounted on /mnt

[code]....

I also ran a whereis for bash and it also is there

View 9 Replies View Related

Ubuntu Installation :: XP Dual Boot Error "No Root Directory Is Specified?

Feb 22, 2010

I keep getting this error during the XP and Linux Ubuntu 9.10 dual boot installation. I have tried many things. Here is the current status of the installation: I have used wubi.exe to install the contents onto the drive. I did not install it onto my windows C: Drive because my Dad does not want to mess with it anymore. We have accidentally blown up Windows Twice trying to dual boot already. So we have another drive in our computer that we have it installed on so we don't mess with Windows. Ok so every time I boot up the computer it goes to the dual boot menu i choose Ubuntu and it tries to finish the installation. Whenever i get to the part where it says "Setting up Partitioner"(Or something like that.), a pop-up appears that says "No root directory is specified. Please correct this from the partitioning menu."

I am pretty sure that the installer is supposed to make the partitions for you. It is impossible to close out the pop-up so i had to hard boot the computer. Then i went into the Linux Ubuntu Demo Mode. I used GPartEd to create the partitions manually. I came across the problem that there were too many partitions on the drive becuase we had some other partitions that we needed on that drive so I had to create an Extended Partition to house the Linux Partitions (For more information on my partition setup, see the bottom of the post.). While still in the Linux Demo I had clicked on the "Install Ubuntu" icon. I got through the first 3 steps (The steps where it askes for Language, location, etc.) After that it went to some setup partitions menu but nothing was on it so i clicked on "Forward" and it said "No root directory is specified. Please correct this from the partitioning menu." That is as far as I am right now.

[Code]...

View 9 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev On /root/dev Failed: No Such File Or Directory

Feb 21, 2011

since running update manager on my daughters net running 10.04 netbook on boot up I get the following on the screen

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn�t have /sbin/init.

[code]....

View 2 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev On /root/dev Failed: No Such File Or Directory

May 14, 2011

Doesn't seem to matter which version, every time I try to install Software raid on an Ubuntu server system, it blows up with this error. Seems I've had trouble for several versions.

Code:

mount: mounting /dev/disk/by-uuid/f35415ee-4c14-4eb1-995f-f19fbcd760c7 on /root
failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory

[code]...

I've done it on Centos Fine, and followed the many different instructions I've seen for Ubuntu. The only luck I've had was with bios raid, but I would much rather let Mdadm handle things.

My build:

ubuntu-10.04.2-server-amd64 CD install
AMD 1055T 6Core
4GB ram
Asus M4A88TD-MUSB3

[code]...

I install both as letting Ubuntu decide partitions for one drive, do the same for the other, and create a raid, and do them from scratch. No dice, same problem. I've tried that one as logical and as primary too. No difference. Something just doesn't like booting from a raid 1 Mirror. I've tried installing grub on both HDDs (sda1 + sdb1)I've tried several CDs, burned from several machines. Re-downloaded from Torrent and from the website. The DVD drives work since I purchased new DVD drives for both one workstation and the server. Things install fine under CentOS, software raid comes up.

View 1 Replies View Related

Ubuntu :: Can I Just Reinstall Root?

May 5, 2010

I was trying to upgrade FGLRX, but the old one wouln't uninstall. I think I need to reintall Lucid. Since I have seperate partitions for:: /, /urs, /boot, /boot & swap. Can I ujust reinstall root? I'm downloading 'ubuntu-10.04-desktop-amd64.iso' via torrent now

View 3 Replies View Related

Ubuntu Installation :: Grub2 Can't Load Window 7 After Recovered Grub2 Using Live Cd To Boot Windows 7

Mar 7, 2010

i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.

Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.

sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5

[Code]....

View 3 Replies View Related

Ubuntu Installation :: Grub2 Dosn't Save Windows As Last Selected + Boot Into Cdrom From Grub2?

May 17, 2010

I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?

View 2 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

Fedora :: Vsftp Installation - Login As Root And Have Access To '/' As Home Directory

Feb 1, 2011

1. yum install vsftpd
2. service vsftpd start [ok]
3. nmap from outside verifies tcp 21 is open for business
4. ftp myipaddress.com results in login failed for user root.

I want to login as root and have access to '/' as my home directory. What do I have to do to get this to work?

View 2 Replies View Related

Security :: Secure FTP - Root Privileges After Logging In Form A Macintosh And Could Browse The Root Directory

Apr 12, 2010

I run ProFTPd with TLS authentication on my Debian Lenny server. My problem is that despite of the fact that my users connect chrooted, one of my friends had root privileges after logging in form a Macintosh and could browse the root directory, too.

View 1 Replies View Related

Fedora :: How To Reinstall F12 Without Wiping Out Home Directory

Mar 18, 2010

I'm having trouble since I installed the newest kernel update. I only have one desktop. I unistalled compiz. Then I get the message 'you don't appear to have a window manager installed' I reinstalled compiz, but it gives me a misty screen, with the cube desktop. How do I set compiz to a default setting? Plain and simple? Where is the config file? This may have started when I clicked a box 'enable indirect rendering' just to see what happened. I have an nvidia 9200 card on an Asus laptop.Failing that, how do I reinstall Fed 12 without wiping out my home directory?

View 14 Replies View Related

General :: Installing As Non-root In A Root Owned Directory

Mar 8, 2011

I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.

So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.

Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..

View 2 Replies View Related







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