Tag Info

Hot answers tagged

23

In your case, the correct selection is /dev/sda, the first one. It's the first and only hard disk in your system, whereas /dev/sda1 is a partition on that hard disk. You can install grub on a partition, but it's a "BAD idea". If you had multiple hard drives and paritions, first find out where your root partition is: df | grep /$ You can then install grub ...


12

Yes, sure. $ dd if=/dev/sda of=mbr bs=512 count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.000188571 s, 2.7 MB/s $ stat -c %s mbr 512 $ hd mbr 00000000 eb 48 90 d0 bc 00 7c 8e c0 8e d8 be 00 7c bf 00 |.H....|......|..| 00000010 06 b9 00 02 fc f3 a4 50 68 1c 06 cb fb b9 04 00 |.......Ph.......| 00000020 bd be 07 80 7e 00 00 7c 0b ...


9

Could you create a Bootinfo Summary report using the boot-repair tool as described below and then post the link to the report? I know you have already provided some details about your boot configuration. However, the report I am asking for contains more detailed information and might give us a better understanding of why you are unable to boot Windows ...


9

What is a partition table? How is it related to Windows 8? In addition to general partitioning, it should be noted that information about partitions are stored in a partition table on the hard disk. The whole topic didn't receive much attention because DOS/Windows computers – where one would install Linux onto – just had one choice for almost three ...


8

I'm the author of gdisk, and I agree with what psusi has written, with the caveat that I can't know what's really on /dev/sda5, so I can't say if it's safe to remove it. If it's the stuff that you've burned to your recovery DVDs, it should be safe to delete it, though. If there's sufficient free space on /dev/sda5 (about 17 KiB), you should be able to ...


7

Use fdisk. Put it into sector mode with the u command, then p to print the table, d to delete the partition, and then n to recreate it. When you recreate it, use the same starting sector, but an ending sector that actually fits within the disk. When you are done and have double checked ( p again ), save and quit with w.


7

See: http://www.digital-experts.de/doc/mbr/README The boot process ~~~~~~~~~~~~~ When the MBR is first loaded it waits for a configurable length of time (1 second by default), monitoring the keyboard, for key presses. If the MBR detects a key press, it will interrupt the boot process, and display it's prompt. Otherwise, it will load the ...


6

Try EasyBCD. EasyBCD is an advanced GUI application that makes it easy to modify the Windows bootloader and the entries in it. Choose BCD Deployment, and write the MBR.


6

Just execute sudo update-grub and sudo update-initramfs -u. And it should be done. In case that your Windows is located on /dev/sda1 the sudo update-grub command should contain Windows 7 (loader) auf /dev/sda1 gefunden (German localization)


5

I have solved this with a Boot-Repair disk (I put it on a USB flash-pen, but one can burn it on a disk if necessary). I had used the program mainly to repair the grub in linux, but it has an option to repair the MBR. So, boot into the Boot Repair disk/usb, and check "Restore MBR" (instead of "Reinstall GRUB"). It works fine, the normal boot in Win7 is ...


4

Installing grub to the mbr will not affect the partition table, so the recovery partition will remain intact and an entry for the recovery partition will be automatically added to the grub menu so that you can boot from it if needed.


4

menuentry "Windows 7" { insmod ntfs set root=(hd0,1) drivemap -s (hd0) ($root) ntldr /bootmgr #or chainloader +1 } If you installed Windows on partition other than (hd0,1) you need to use drivemap command to boot to Windows. Chainloader +1 or ntldr /bootmgr both can be used to boot Windows 7. What you did is you modified MBR of 1st partition, you may ...


4

Install the MBR to the disk with Ubuntu on it and configure the BIOS to boot from Ubuntu's disk instead of the Win7 one. Since you cannot boot into Ubuntu, you'll need the Live CD to boot and repair things. Boot from the Live CD. Mount the partition containing the Ubuntu installation (by opening it in the file browser for example) Open a Terminal Run the ...


3

Yes, it does look like a typical MBR error message. I ended up with a similar situation, although I was able to reinstall grub from a liveCD and then boot into Ubuntu well enough. (I don't know if your boot repair program reinstalls grub; if not, I'll post the instructions below. I can't take credit for them, but I don't know any longer where I got them.) ...


3

If you had really important files in your Vista partition, then stop doing anything. If you had erased your files, each time that you write to you're disk recovery will be harder. Go to some professional that can help you to recover the files. If the files are not so important, i.e. you don't want to pay to recover them, the first thing to do is to know ...


3

It's an alignment thing For performance reasons you really want your storage to be aligned on all levels. While this is probably just a simple hard drive with a partition table and a file system on it directly, it's still important to not misalign it. What about alignment? Suppose your hard drive works with 4 kB sectors (yours appear to work with 512 ...


3

Answer written by the OP in one edit: After hours of GRUB trouble, this these lines solved it in seconds: sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update sudo apt-get install -y boot-repair && boot-repair


3

First, your partition table appears to have two active partitions, which may prevent your computer from booting even if you fix the problem of the MBR. Windows's MBR boot is kind of funky because it uses a "default" MBR to load the MBR of the active partition. Before you change the boot records, try unmarking one of the partitions and booting. If that ...


3

The answer to your first question is yes, because I am doing it now. I would guess it's probably a Microsoft design decision to encourage adoption of UEFI, rather than a technical reason. UEFI allows Secure Boot and similar stuff that is more important to MS than to its customers. I don't know of a way to let windows boot from GPT with a legacy BIOS, but ...


3

On installation, choose the Soomething else option to open the advanced partitioning tool. Make a separate partition for /boot (500 MB in size is enough): and another one for root: You can make a separate partition for /home for your data and settings and also one for swap if you want to use hibernation on Ubuntu. Before continuing to install, you ...


3

There are several advantages to GPT: Supports disks larger than 2TiB. Supports partitions larger than 2TiB. Supports more than four partitions, with no distinction between primary, extended, and logical partitions. Uses GUIDs as type codes, which means there's less risk of conflicting/duplicate codes. Uses LBA addressing exclusively, compared to MBR's dual ...


2

Your installation is very strange: Your partition table is MBR, which almost always indicates a BIOS-mode boot. In the case of Windows, MBR requires a BIOS-mode boot. You've got the Windows boot loader installed in the MBR. Your first partition has a FAT filesystem and contains EFI boot loaders, apparently for both Linux and Windows (although the Windows ...


2

In this case I'd simply retrieve all your files from your backups. ;) Overwriting the first few GB of a partition will have wiped out enough of the filesystem's structure that it is unlikely you will be able to retrieve file metadata in a meaningful way. Now, since you did it to the entire drive (/dev/sda) it is possible that you have intact partitions ...


2

It will make no difference for you at all. Advantages of GPT are: Large partitions, more that 2 TB Unlimited number of primary partitions In your case you do not need first. Second can be achieved by creating an extended partition and creating logical ones there. For linux it does not matter to which type of partitions install (logical or primary). But ...


2

Most of the time, when you start the Ubuntu installation, it will detect Windows partitions and guide you through making space for Ubuntu. If it doesn't, you have to manually partition, which isn't hard at all for someone like me, but I use Gentoo, so that's different. Anyways, if the Ubuntu installer cannot detect windows paritions, you will have to click ...


2

I had a similar problem in Ubuntu 12.04 LTS. Run sudo update-grub.You can check Boot Repair also.


2

Test gdisk. It is available in Ubuntu Trusty Tahr 14.04.1 Live Iso. Open a terminal. Execute: sudo su gdisk /dev/sd? The gdisk program employs a user interface similar to that of Linux's fdisk, but gdisk modifies GPT partitions. It also has the capability of transforming MBR partitions or BSD disklabels into GPT partitions. Like the original fdisk ...


2

The number 0800 in hexadecimal form converts to 2048 in decimal form. The command to convert a hexadecimal number to decimal is: echo "ibase=16; hex-number"|bc Running the command: echo "ibase=16; 0800"|bc Returns the result: 2048


2

Try option 1 in gdisk and see what it says (type p to view your partitions). gdisk holds data in memory until you write, so using this option to view the partitions is fairly risk-free; only if you type w to save your changes will you put anything at risk. If you're lucky, gdisk will be able to recover valid partition data. See this page (part of the gdisk ...


2

If I well understood you, you don't want Kubuntu to install GRUB. You may uninstall GRUB on Kubuntu: sudo apt-get remove grub-pc



Only top voted, non community-wiki answers of a minimum length are eligible