dual boot install--no GRUBGrub problem with dual boot Ubuntu & XP (Ubuntu installed first)Installed...
I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?
Skis versus snow shoes - when to choose which for travelling the backcountry?
Difference between 'stomach' and 'uterus'
Why I cant see italic font at the header?
Get length of the longest sequence of numbers with the same sign
Six real numbers so that product of any five is the sixth one
Sometimes a banana is just a banana
Can throughput exceed the bandwidth of a network
What is the difference between a forward slip and a side slip?
Can I become debt free or should I file for bankruptcy? How do I manage my debt and finances?
Why is working on the same position for more than 15 years not a red flag?
Are paired adjectives bad style?
Don't know what I’m looking for regarding removable HDDs?
lead or lag function to get several values, not just the nth
Citing contemporaneous (interlaced?) preprints
Dystopian novel where telepathic humans live under a dome
Roots of 6th chords on the guitar for different inversions/voicings
Reason why dimensional travelling would be restricted
Test pad's ESD protection
Do higher etale homotopy groups of spectrum of a field always vanish?
How to lift/raise/repair a segment of concrete slab?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
Practical reasons to have both a large police force and bounty hunting network?
If a set is open, does that imply that it has no boundary points?
dual boot install--no GRUB
Grub problem with dual boot Ubuntu & XP (Ubuntu installed first)Installed Ubuntu 10.10 alongside Windows XP Pro. When I pick XP from grub the keyboard and mouse no longer workNTFS partition broke: Won't mount in Linux & Windows won't bootNeed to modify boot options, Windows not working (dual booting ubuntu and windows)Boot records messed on dual boot (Win7 and Ubuntu) machine with SSD and HDDRestoring a Ubuntu Linux LVM driveLinux server boot issueWin7 x64 large copy File creation error - The semaphore timeout period has expiredDual boot Windows 10 after initial Arch Linux instilationCan't boot into Ubuntu 16.04 after installing Ubuntu 18.04 (on separate partition)
My computer recently had a hardware upgrade and now runs on Windows 7. I decided to install Ubuntu 11.04 as dual boot using the ISO I got from ubuntu.com downloaded onto my USB stick.
Restarting with the USB stick, I was able to install Ubuntu 11.04 choosing the option:
Install Ubuntu 11.04 side by side with Windows 7 (or something like that).
No errors were encountered on installation. However on restarting, there was no GRUB; the system went straight into Windows 7.
Looking for answers, I found these:
- http://essayboard.com/2011/07/12/how-to-dual-boot-ubuntu-11-04-and-windows-7-the-traditional-way-through-grub-2/
- http://ubuntuforums.org/showthread.php?t=1774523
Following their instructions, I got:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.02 debian-20101016 ...........>...r>....... ......0...~.k...~...f...M.f.f....f..8~....>2}
Boot sector info: Syslinux looks at sector 1437504 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. According
to the info in the boot sector, sdb1 starts at sector
0. But according to the info from fdisk, sdb1 starts
at sector 62.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
sdc1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc6: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc7: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdc8: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
Going back into Ubuntu and running sudo fdisk -l
, I got these:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f393
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 19458 156185600 7 HPFS/NTFS
Disk /dev/sdb: 2011 MB, 2011168768 bytes
62 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2ab9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 1962331 c W95 FAT32 (LBA)
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00261ddd
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60657 487222656+ 7 HPFS/NTFS
/dev/sdc2 60657 121600 489527681 5 Extended
/dev/sdc5 120563 121600 8337703+ 82 Linux swap / Solaris
/dev/sdc6 120073 120562 3930112 82 Linux swap / Solaris
/dev/sdc7 60657 119584 473328640 83 Linux
/dev/sdc8 119584 120072 3923968 82 Linux swap / Solaris
Should I proceed and do the following?
Assuming Ubuntu 11.04 was installed on device sdb1, do this:
sudo mount /dev/sdb1 /mnt
Then do this:
sudo grub-install--root-directory=/mnt /dev/sdb
Notice there are two dashes in front of the root directory, and I'm not using sdb1 but sdb.
Since the command in step 15 had reinstalled Grub 2, now we need to unmount the /mnt
(i.e. sdb1) to clean up.
Do this:
sudo umount /mnt
Reboot and remove Ubuntu 11.04 CD/DVD from disk tray. Log into Ubuntu 11.04 (you have no choice but it will make you log into Ubuntu 11.04 at this point).
Open up a terminal in Ubuntu 11.04 (using real installation, not live CD/DVD). Execute this command:
sudo update-grub
Reboot the machine.
windows-7 windows ubuntu
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
My computer recently had a hardware upgrade and now runs on Windows 7. I decided to install Ubuntu 11.04 as dual boot using the ISO I got from ubuntu.com downloaded onto my USB stick.
Restarting with the USB stick, I was able to install Ubuntu 11.04 choosing the option:
Install Ubuntu 11.04 side by side with Windows 7 (or something like that).
No errors were encountered on installation. However on restarting, there was no GRUB; the system went straight into Windows 7.
Looking for answers, I found these:
- http://essayboard.com/2011/07/12/how-to-dual-boot-ubuntu-11-04-and-windows-7-the-traditional-way-through-grub-2/
- http://ubuntuforums.org/showthread.php?t=1774523
Following their instructions, I got:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.02 debian-20101016 ...........>...r>....... ......0...~.k...~...f...M.f.f....f..8~....>2}
Boot sector info: Syslinux looks at sector 1437504 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. According
to the info in the boot sector, sdb1 starts at sector
0. But according to the info from fdisk, sdb1 starts
at sector 62.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
sdc1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc6: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc7: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdc8: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
Going back into Ubuntu and running sudo fdisk -l
, I got these:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f393
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 19458 156185600 7 HPFS/NTFS
Disk /dev/sdb: 2011 MB, 2011168768 bytes
62 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2ab9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 1962331 c W95 FAT32 (LBA)
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00261ddd
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60657 487222656+ 7 HPFS/NTFS
/dev/sdc2 60657 121600 489527681 5 Extended
/dev/sdc5 120563 121600 8337703+ 82 Linux swap / Solaris
/dev/sdc6 120073 120562 3930112 82 Linux swap / Solaris
/dev/sdc7 60657 119584 473328640 83 Linux
/dev/sdc8 119584 120072 3923968 82 Linux swap / Solaris
Should I proceed and do the following?
Assuming Ubuntu 11.04 was installed on device sdb1, do this:
sudo mount /dev/sdb1 /mnt
Then do this:
sudo grub-install--root-directory=/mnt /dev/sdb
Notice there are two dashes in front of the root directory, and I'm not using sdb1 but sdb.
Since the command in step 15 had reinstalled Grub 2, now we need to unmount the /mnt
(i.e. sdb1) to clean up.
Do this:
sudo umount /mnt
Reboot and remove Ubuntu 11.04 CD/DVD from disk tray. Log into Ubuntu 11.04 (you have no choice but it will make you log into Ubuntu 11.04 at this point).
Open up a terminal in Ubuntu 11.04 (using real installation, not live CD/DVD). Execute this command:
sudo update-grub
Reboot the machine.
windows-7 windows ubuntu
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Are you sure it's --root-directory? It doesn't show up in the manpage, and grub-install complains when I give it that option. Did you mean --boot-directory?
– Nick ODell
Nov 13 '12 at 18:15
add a comment |
My computer recently had a hardware upgrade and now runs on Windows 7. I decided to install Ubuntu 11.04 as dual boot using the ISO I got from ubuntu.com downloaded onto my USB stick.
Restarting with the USB stick, I was able to install Ubuntu 11.04 choosing the option:
Install Ubuntu 11.04 side by side with Windows 7 (or something like that).
No errors were encountered on installation. However on restarting, there was no GRUB; the system went straight into Windows 7.
Looking for answers, I found these:
- http://essayboard.com/2011/07/12/how-to-dual-boot-ubuntu-11-04-and-windows-7-the-traditional-way-through-grub-2/
- http://ubuntuforums.org/showthread.php?t=1774523
Following their instructions, I got:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.02 debian-20101016 ...........>...r>....... ......0...~.k...~...f...M.f.f....f..8~....>2}
Boot sector info: Syslinux looks at sector 1437504 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. According
to the info in the boot sector, sdb1 starts at sector
0. But according to the info from fdisk, sdb1 starts
at sector 62.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
sdc1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc6: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc7: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdc8: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
Going back into Ubuntu and running sudo fdisk -l
, I got these:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f393
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 19458 156185600 7 HPFS/NTFS
Disk /dev/sdb: 2011 MB, 2011168768 bytes
62 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2ab9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 1962331 c W95 FAT32 (LBA)
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00261ddd
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60657 487222656+ 7 HPFS/NTFS
/dev/sdc2 60657 121600 489527681 5 Extended
/dev/sdc5 120563 121600 8337703+ 82 Linux swap / Solaris
/dev/sdc6 120073 120562 3930112 82 Linux swap / Solaris
/dev/sdc7 60657 119584 473328640 83 Linux
/dev/sdc8 119584 120072 3923968 82 Linux swap / Solaris
Should I proceed and do the following?
Assuming Ubuntu 11.04 was installed on device sdb1, do this:
sudo mount /dev/sdb1 /mnt
Then do this:
sudo grub-install--root-directory=/mnt /dev/sdb
Notice there are two dashes in front of the root directory, and I'm not using sdb1 but sdb.
Since the command in step 15 had reinstalled Grub 2, now we need to unmount the /mnt
(i.e. sdb1) to clean up.
Do this:
sudo umount /mnt
Reboot and remove Ubuntu 11.04 CD/DVD from disk tray. Log into Ubuntu 11.04 (you have no choice but it will make you log into Ubuntu 11.04 at this point).
Open up a terminal in Ubuntu 11.04 (using real installation, not live CD/DVD). Execute this command:
sudo update-grub
Reboot the machine.
windows-7 windows ubuntu
My computer recently had a hardware upgrade and now runs on Windows 7. I decided to install Ubuntu 11.04 as dual boot using the ISO I got from ubuntu.com downloaded onto my USB stick.
Restarting with the USB stick, I was able to install Ubuntu 11.04 choosing the option:
Install Ubuntu 11.04 side by side with Windows 7 (or something like that).
No errors were encountered on installation. However on restarting, there was no GRUB; the system went straight into Windows 7.
Looking for answers, I found these:
- http://essayboard.com/2011/07/12/how-to-dual-boot-ubuntu-11-04-and-windows-7-the-traditional-way-through-grub-2/
- http://ubuntuforums.org/showthread.php?t=1774523
Following their instructions, I got:
Boot Info Script 0.60 from 17 May 2011
============================= Boot Info Summary: ===============================
=> Windows is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
=> Grub2 (v1.99) is installed in the MBR of /dev/sdc and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos7)/boot/grub on this drive.
sda1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grldr /bootmgr /Boot/BCD /grldr
sda2: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows Vista/7
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sdb1: __________________________________________________ ________________________
File system: vfat
Boot sector type: SYSLINUX 4.02 debian-20101016 ...........>...r>....... ......0...~.k...~...f...M.f.f....f..8~....>2}
Boot sector info: Syslinux looks at sector 1437504 of /dev/sdb1 for its
second stage. SYSLINUX is installed in the directory.
The integrity check of the ADV area failed. According
to the info in the boot sector, sdb1 starts at sector
0. But according to the info from fdisk, sdb1 starts
at sector 62.
Operating System:
Boot files: /boot/grub/grub.cfg /syslinux/syslinux.cfg /ldlinux.sys
sdc1: __________________________________________________ ________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sdc2: __________________________________________________ ________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdc5: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc6: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
sdc7: __________________________________________________ ________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sdc8: __________________________________________________ ________________________
File system: swap
Boot sector type: -
Boot sector info:
Going back into Ubuntu and running sudo fdisk -l
, I got these:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0002f393
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 102400 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 13 19458 156185600 7 HPFS/NTFS
Disk /dev/sdb: 2011 MB, 2011168768 bytes
62 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000f2ab9
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1021 1962331 c W95 FAT32 (LBA)
Disk /dev/sdc: 1000.2 GB, 1000202043392 bytes
255 heads, 63 sectors/track, 121600 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00261ddd
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 60657 487222656+ 7 HPFS/NTFS
/dev/sdc2 60657 121600 489527681 5 Extended
/dev/sdc5 120563 121600 8337703+ 82 Linux swap / Solaris
/dev/sdc6 120073 120562 3930112 82 Linux swap / Solaris
/dev/sdc7 60657 119584 473328640 83 Linux
/dev/sdc8 119584 120072 3923968 82 Linux swap / Solaris
Should I proceed and do the following?
Assuming Ubuntu 11.04 was installed on device sdb1, do this:
sudo mount /dev/sdb1 /mnt
Then do this:
sudo grub-install--root-directory=/mnt /dev/sdb
Notice there are two dashes in front of the root directory, and I'm not using sdb1 but sdb.
Since the command in step 15 had reinstalled Grub 2, now we need to unmount the /mnt
(i.e. sdb1) to clean up.
Do this:
sudo umount /mnt
Reboot and remove Ubuntu 11.04 CD/DVD from disk tray. Log into Ubuntu 11.04 (you have no choice but it will make you log into Ubuntu 11.04 at this point).
Open up a terminal in Ubuntu 11.04 (using real installation, not live CD/DVD). Execute this command:
sudo update-grub
Reboot the machine.
windows-7 windows ubuntu
windows-7 windows ubuntu
edited Jul 24 '11 at 3:29
3498DB
15.8k114762
15.8k114762
asked Jul 23 '11 at 21:33
Jim SyyapJim Syyap
5631415
5631415
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Are you sure it's --root-directory? It doesn't show up in the manpage, and grub-install complains when I give it that option. Did you mean --boot-directory?
– Nick ODell
Nov 13 '12 at 18:15
add a comment |
Are you sure it's --root-directory? It doesn't show up in the manpage, and grub-install complains when I give it that option. Did you mean --boot-directory?
– Nick ODell
Nov 13 '12 at 18:15
Are you sure it's --root-directory? It doesn't show up in the manpage, and grub-install complains when I give it that option. Did you mean --boot-directory?
– Nick ODell
Nov 13 '12 at 18:15
Are you sure it's --root-directory? It doesn't show up in the manpage, and grub-install complains when I give it that option. Did you mean --boot-directory?
– Nick ODell
Nov 13 '12 at 18:15
add a comment |
4 Answers
4
active
oldest
votes
After three days, I decided to reformat, reinstall windows 7 (first), then ubuntu following these instructions.
Today, I have a dual boot pc running ubuntu 11.04 by default, and windows 7.
What was different this time, was that I partitioned my hard drive using gparted while inside ubuntu trial mode, then installed ubuntu from there. Immediately after the reboot, I got my grub.
add a comment |
Next time if you want to use the Windows bootloader there are tools out there to allow booting linux from windows. Otherwise you can load a recovery linux CD and reinstall Grub.
add a comment |
You can also boot into live mode and use Ubuntu Boot Repair.
add a comment |
Please try to repair your boot grub by live-ubuntu (ubuntu cd
)
>Boot your computer on a Ubuntu live-CD or live-USB.
>Choose "Try Ubuntu"
>Connect Internet
>Open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
>Press Enter.
Then type:
sudo apt-get install boot-repair
After Installation Close the Terminal and Open Boot Repair ,
then Choose Recommended repair. It will repair automatically.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f314241%2fdual-boot-install-no-grub%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
After three days, I decided to reformat, reinstall windows 7 (first), then ubuntu following these instructions.
Today, I have a dual boot pc running ubuntu 11.04 by default, and windows 7.
What was different this time, was that I partitioned my hard drive using gparted while inside ubuntu trial mode, then installed ubuntu from there. Immediately after the reboot, I got my grub.
add a comment |
After three days, I decided to reformat, reinstall windows 7 (first), then ubuntu following these instructions.
Today, I have a dual boot pc running ubuntu 11.04 by default, and windows 7.
What was different this time, was that I partitioned my hard drive using gparted while inside ubuntu trial mode, then installed ubuntu from there. Immediately after the reboot, I got my grub.
add a comment |
After three days, I decided to reformat, reinstall windows 7 (first), then ubuntu following these instructions.
Today, I have a dual boot pc running ubuntu 11.04 by default, and windows 7.
What was different this time, was that I partitioned my hard drive using gparted while inside ubuntu trial mode, then installed ubuntu from there. Immediately after the reboot, I got my grub.
After three days, I decided to reformat, reinstall windows 7 (first), then ubuntu following these instructions.
Today, I have a dual boot pc running ubuntu 11.04 by default, and windows 7.
What was different this time, was that I partitioned my hard drive using gparted while inside ubuntu trial mode, then installed ubuntu from there. Immediately after the reboot, I got my grub.
answered Jul 26 '11 at 9:32
Jim SyyapJim Syyap
5631415
5631415
add a comment |
add a comment |
Next time if you want to use the Windows bootloader there are tools out there to allow booting linux from windows. Otherwise you can load a recovery linux CD and reinstall Grub.
add a comment |
Next time if you want to use the Windows bootloader there are tools out there to allow booting linux from windows. Otherwise you can load a recovery linux CD and reinstall Grub.
add a comment |
Next time if you want to use the Windows bootloader there are tools out there to allow booting linux from windows. Otherwise you can load a recovery linux CD and reinstall Grub.
Next time if you want to use the Windows bootloader there are tools out there to allow booting linux from windows. Otherwise you can load a recovery linux CD and reinstall Grub.
answered Jul 9 '12 at 22:07
Eric FossumEric Fossum
4781515
4781515
add a comment |
add a comment |
You can also boot into live mode and use Ubuntu Boot Repair.
add a comment |
You can also boot into live mode and use Ubuntu Boot Repair.
add a comment |
You can also boot into live mode and use Ubuntu Boot Repair.
You can also boot into live mode and use Ubuntu Boot Repair.
edited Nov 23 '12 at 11:09
wonea
1,48211940
1,48211940
answered Nov 23 '12 at 10:15
rahulrahul
931212
931212
add a comment |
add a comment |
Please try to repair your boot grub by live-ubuntu (ubuntu cd
)
>Boot your computer on a Ubuntu live-CD or live-USB.
>Choose "Try Ubuntu"
>Connect Internet
>Open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
>Press Enter.
Then type:
sudo apt-get install boot-repair
After Installation Close the Terminal and Open Boot Repair ,
then Choose Recommended repair. It will repair automatically.
add a comment |
Please try to repair your boot grub by live-ubuntu (ubuntu cd
)
>Boot your computer on a Ubuntu live-CD or live-USB.
>Choose "Try Ubuntu"
>Connect Internet
>Open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
>Press Enter.
Then type:
sudo apt-get install boot-repair
After Installation Close the Terminal and Open Boot Repair ,
then Choose Recommended repair. It will repair automatically.
add a comment |
Please try to repair your boot grub by live-ubuntu (ubuntu cd
)
>Boot your computer on a Ubuntu live-CD or live-USB.
>Choose "Try Ubuntu"
>Connect Internet
>Open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
>Press Enter.
Then type:
sudo apt-get install boot-repair
After Installation Close the Terminal and Open Boot Repair ,
then Choose Recommended repair. It will repair automatically.
Please try to repair your boot grub by live-ubuntu (ubuntu cd
)
>Boot your computer on a Ubuntu live-CD or live-USB.
>Choose "Try Ubuntu"
>Connect Internet
>Open a new Terminal, then type:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
>Press Enter.
Then type:
sudo apt-get install boot-repair
After Installation Close the Terminal and Open Boot Repair ,
then Choose Recommended repair. It will repair automatically.
edited Sep 22 '14 at 9:05
answered May 10 '14 at 6:11
A. PrasadA. Prasad
58921029
58921029
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f314241%2fdual-boot-install-no-grub%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are you sure it's --root-directory? It doesn't show up in the manpage, and grub-install complains when I give it that option. Did you mean --boot-directory?
– Nick ODell
Nov 13 '12 at 18:15