General :: Grub-install Via Live CD To GUID Partition?
Jun 27, 2011How to install grub in /sdb3 /media/{some-uuid} via Live CD?
# mount
# -> /dev/sd3 /media/{some-guid}
# grub-install --force --root-directory=/media/{some-guid} /dev/sda3
How to install grub in /sdb3 /media/{some-uuid} via Live CD?
# mount
# -> /dev/sd3 /media/{some-guid}
# grub-install --force --root-directory=/media/{some-guid} /dev/sda3
I am not really sure if the title makes any sense or if it even possible. Basically I am currently triple booting with Mac osx on the first partition windows 7 on the second and ubuntu linux on the 3rd with a swap partition. So basically on my 2TB harddrive
Mac (200gb)
Windows (200gb)
Linux (200gb)
Swap (8gb)
NTFS(1592gb)
The last partition is formatted as ntfs using Gparted, windows cannot detect it. The windows disk partitioner shows the swap and ntfs partitions as unformatted. I can unformat the space and use the windows partition to add format it as ntfs but it would format the linux swap partition as well. I am worried that it could potentially screw up everything on my harddrive. My question is. What do I need to do to get the ntfs parition recognized by windows (should I use the windows partitioner)?
Just wondering if Ubuntu will install alongside OSX on a GUID partiton scheme.
View 1 Replies View RelatedIs there a way to re-install grub on the master boot record of a hard disk using a live cd?If so will i have to configure it?I'm trying to install a linux distro on my ao751h(with poulsbo ) but i after installing it i can't boot.I get an error 15 or a flashing underscore.I have already tried ubuntu,debian,mint and slackware(LILO isn't compatible with poulsbo).Also,does anybody experience problems with the ubuntu 10.04 and 10.10 installers or is it only me?when i choose the language and keyboard settings the installation stop as it is and i get a crash report.
View 4 Replies View RelatedI have a netbook that dual-boots Win XP and Ubuntu 10.04 and accidentally hit the Win recovery mode in GRUB today, but quickly restarted without formatting or proceeding with any recovery. But upon reboot I just see: error: no such partition. grub rescue>
What I have tried so far: Boot to USB Live Disk... It won't, just goes straight to grub rescue.I do ls and it gives me (hd0) (hd0,4) (hd0,3) (hd0,2) (hd0,1) (fd0) error: fd0 cannot get C/H/S values.
set gives me
prefix=(hd0,5)/boot/grub
root=hd0,5
but if I try to boot it says unknown command so I figured I needed to find the right partition to boot from but I went through all of them with ls (hd0,4)/boot, ls (hd0,3)/boot etc. and every partition comes back "unknown filesystem".
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'
Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.
I am trying to dual boot Windows and Linux. I would like to continue using the Windows bootloader in my MBR.
I installed Windows 7 first. During the install I left some unallocated space that I intended to install Linux.
I found this guide: [URL]
It says to install GRUB to the bootsector of the partition that Linux is being installed to and not the MBR of your hard drive.
I am trying to install Linux Mint Debian to the second partition. When the installer gets to where you are asked to install GRUB the only option is to install GRUB to /dev/sda which I believe is the MBR.
I decided just not to install GRUB and proceeded with the installation.
How can I install GRUB to the bootsector of my Linux partition?
here it is: I tried installing grub from the Live CD to one of my hard disks (/dev/sdc) on a PCI to ATA adapter. I wanted to be able to choose which OS to boot from when the ATA adapter booted from the hard disk with GRUB on it, but all I get is a GRUB prompt. How do I make a normal GRUB menu on that hard disk with all my OS'es on the menu?
View 6 Replies View RelatedI recently installed Win7 on my machine and of course, that removed Grub and didn't install the boot manager. I tried to download EasyBCD but it doesn't allow me to select the appropriate partition for Linux so I can't boot into Linux. Is there a way to install Grub from the live CD Without having to completely reinstall Ubuntu??
View 2 Replies View RelatedMy GRUB2 has been corrupted after booting into Windows7. I am not able to install the legacy GRUB from Ubuntu 8.04 Live CD becoz the current file system is Ext4. How to install GRUB2 only from the Ubuntu 10.04 live CD? Will this make me able to boot both windows and linux? I have only one hard drive and Linux is in sda8.
View 9 Replies View RelatedI 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]....
I was wondering if it's somehow possible to install the Live USB to an ext4 partition, this because I have a 4gb filesize limit on fat32 and that means I cannot make the casper-rw any larger. And next to that I can decently manage permissions on that.
View 9 Replies View RelatedI am trying to install Ubuntu through the live CD to a resized partition on a External HDD.But when I try to boot into it, I get:error: unknown filesystem grub rescue> The boot loader is on the external HDD
View 3 Replies View RelatedNaturally, hiding the graphical grub screen on a regular installation is easy, by adding either "timeout 0" or "hiddenmenu" to menu.lst. But on a live boot, there seems to be no menu.lst - at least no accessible one.
Although, in some kiwi image types, you can specify boottimeout="n" in the image description's type element, it does not have the intended effect. Here is an example. The following type element's boottimeout attribute will invoke the first grub menu item instantly. Changing the value to zero, not only does not hide the grub screen, but seems to restore the default 10 second time out.
<type image="iso" primary="true" boot="isoboot/suse-11.3" boottimeout="1" hybrid="true" flags="clic"/>
Is there any way to hide the graphical grub screen in a kiwi live boot?
I've been trying to use GParted Live CD to shrink my Windows XP partition and allocate this space to /home.
On GParted I shrank my /dev/sda1 (Windows) from 36GB to 26 GB. Then I had 10 GB of unallocated space. I didn't know how I could use this unallocated space to increase the size of /dev/sda7 (/home). How do you do this?
I have a PC that has 10.04 installed and no other operating system. The 1 TB hard disk has two partitions:
* 940 GB NTFS for data storage
* 50GB ext4 (which has 10 GB extended and 10 GB sawp)
The system has become sluggish and slow and browsers and so on often "hang" for a few seconds prior to executing. There is an epiphany dependency problem that I cannot solve.
My questions are:
1. Is it possible to do a clean install on the 50GB partition from a live CD?
2. Is it better to do this than upgrade to 10.10 and thence to 11.04? [When I ungraded like this in the past, I had problems, so I would prefer a clean install].
3. If it is possible to do a clean install on the 50GB partition, should I reformat the partition and if so, can I do that from the live CD?
I am still using Lucid with a Luks/dm-crypt setup. I picked up an upgrade today that included grub. It gave me a box that had me choose my location to install the upgrade. I chose /boot. When apt did its upgrade thing, I got the following message: Setting up grub-pc (1.98-1ubuntu ... /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 its use is discouraged.. Installation finished. No error reported. I looked in /boot/grub and found no menu.lst file.
View 4 Replies View RelatedI have an old HP PC with 2 drives: Primary (C = 20GB) and a slave (E = 60GB). I have Windows XP Pro OS (which I want to completely replace with Ubuntu). Ubuntu 10.10 is installed on E as a side-by-side (with XP on C). I am done testing Ubuntu and now want to completely replace the XP OS.Ubuntu is installed on E-drive as a partition. ISSUE: When I log on the PC goes directly to the GRUB menu but I get no option to boot from the Live Disk 10.10 during the boot-up.
HISTORY: I have tried (unsuccessfully) to remove Ubuntu from my E-drive by use of the uninstall function from Windows control panel. I have also tried to remove it using the manage/Disk Management process but the "Format" and "Delete" options are unavailable (grayed out) so cannot use that. I would like to do a complete clean up and fresh install of Ubuntu as my only OS.I have read and tried a number of internet articles / recommendations about opening BIOS and redirecting the start-up to the disk, but I do not get any option or any time during the boot to do that.
QUESTIONS:
1) How can I get my HP PC to boot from (recognize) the Ubuntu Live Disk (CD)?
2) Would a complete removal and clean reinstallation be a better approach?
3) And how can I remove Ubuntu from the partition on E (as I want to dedicate the C-drive exclusively for Ubuntu)?
This is my first post so please be patient. I am unfamiliar with this part of the installation process.
Want to repartition/resize existing 1/2 full 60MB sda2 currently containing NTFS. The "Allocate drive space" does not seem to have a resize option (the 10.04 docs claim there was a resize option here). When I run 10.10 gparted in live mode gparted crashes for unknown reason before it even finishes scanning the disk. Am I missing something here? (Never tried to resize an ntfs part. with Ubuntu.) The laptop I am installing this on currently has XP that crashes a lot for unknown reasons.
View 9 Replies View Relatedis it possible to boot fedora live cd image from usb thumb drive using grub? im trying to make multiboot usb thumb drive with live option on it, but cant seem to get it to work.trying to load kernel and initrd resulting in this at the end of the fedora loading screen:
Code:
No root device found!
Boot has failed sleeping forever!
Any suggestions would be greatly appreciated!
I am trying to run the openSUSE live cd from the second partition of a 16 G USB stick. The reason for doing this is so that I can use the first 13G as a windows file system that Windows can read. Does anyone know how to do this?
View 5 Replies View RelatedWhat I want to know is it possible to install Ubuntu on a second partition without Grub, just use the Windows boot loader.
View 3 Replies View RelatedI just installed Windows XP on a seperate partition and now I cant boot from Ubuntu. I have done this before and been able to reinstall grub but this time I cant remember how I did it. I have tried the instructions from here and here but I cant get it to work. I keep getting this error:
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sda5 /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 its use is discouraged. /usr/sbin/grub-setup: error: if you really want blocklists, use --force.
[Code]...
I want to set up my USB memory stick(s) (4gb) so that I have a partition (3gb?) for personal data storage and another hidden (1gb?) for booting/installing Ubuntu live from the 'stick' on friends' and colleagues' computers.I have a number of queries:
1) If I flag the boot partition 'hidden' in Gparted, it does what I want in Ubuntu but not in Windows; in Windows you can see the hidden partition, 'Wubi', and not the storage one. Does it simply depend on the physical position of the partitions on the memory stick?
2) I am using Unetbootin and Gparted (both GUIs). Should I prepare the live boot partition before or after partitioning the memory stick?
3) How much memory should I allow for the live boot partition?
4) Is there anyone who has asked similar questions or tried to achieve the same results before? Please let me know if I'm doing it all wrong.
Im using the System Rescue live cd to try and Clamscan a partition on my internal HD, but I cant mount /dev/sda3 (my home partition).
I use this commandline (as root):
Code:
mount -t ext3 /dev/sda3 mountpoint
but it just hangs, and then gives an error.
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 RelatedIn HDD with 2 partition
sda1 windows xp (ntfs)
sda2 windows 7 (ntfs)
1. It is possible to install grub?
2. If not, if I create sda3 (ext3), and install grub there and boot both windows will be possible?
I have many partition for many different operating systems. I have Windows 7 on partition 2, and Ubuntu on partiton 3. Previously I could use GParted to set the boot flag for the drive to whichever partition I desired. If I set it to partition 2, I got the Windows bootloader, and if I set it to partition 3, I got the Ubuntu bootloader. Now if I set the boot flag to my Ubuntu partition, I get a message something along the lines of "disk not found". I can't recall its exact message at the moment. When setting up Ubuntu the installer has the "Advanced" button on the last page which gives you the option of which partition to install Grub to. Is there any way I can access this again, or a utility that will do the same thing? I have used the grub program in the following way to restore the Ubuntu bootloader
sudo grub
root (hd0,0)
setup (hd0)
but the boot flag is still on my Windows partition, suggesting Grub has overwritten Windows' bootloader. How can I tell grub which partition to install to? I'm using 10.04 and Grub2.
So how can I (e.g. after using dd) boot to this dd'd Windows Installation partition with Grub?
I just want to do this as installing Windows from Hard Drive is much faster.
E: The solution was Unetbootin. Did nothing special myself (defined the .iso path and the partition (/dev/sda4)), the app did all the work.
My laptop came with a hidden partition for restoring Vista instead of an install disk. I installed Ubuntu 9.04, which had an "Advanced" option that allowed me to install grub in the Ubuntu partition without writing over the MBR. Then I used EasyBCD to add Ubuntu to the Vista boot loader. I wanted to do this so that I can still restore the factory copy of Vista from the hidden partition if I need to. I upgraded the Ubuntu to 9.10, still using grub. When I did a fresh install of Ubuntu 10.04 it went to grub2, and I haven't figured out how to boot into it with EasyBCD yet.But I would like to try Fedora anyway. I will wait a couple of days and get 13.
1. Which grub does Fedora 13 use?
2. Will Fedora 13 allow me to install grub in its own partition without writing over the MBR?