Duel Boot Problem

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
twobit

Re: Duel Boot Problem

Post by twobit »

joann@joann-GA-MA785GT-UD3HJoann ~ $ sudo parted -l
[sudo] password for joann:
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 4310MB 4310MB primary ext4 boot


Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 30.0GB 30.0GB primary ext4
2 30.0GB 30.0GB 6291kB primary linux-swap(v1)
3 30.0GB 500GB 470GB primary ntfs
twobit

Re: Duel Boot Problem

Post by twobit »

joann@joann-GA-MA785GT-UD3HJoann ~ $ sudo blkid
[sudo] password for joann:
/dev/sda1: UUID="9e1273c5-81a5-46c1-807b-0f02f6deeddf" TYPE="ext4"
/dev/sdb1: UUID="8c8470cb-35b5-46a1-9d55-28fb4f10486a" TYPE="ext4"
/dev/sdb2: UUID="8e89efa0-cd7d-410f-81a8-352b0355b31d" TYPE="swap"
/dev/sdb3: UUID="5F8929BB7FBD7D51" TYPE="ntfs"
SimonTS

Re: Duel Boot Problem

Post by SimonTS »

Commands as requested;-

Code: Select all

sudo fdisk -l
sudo parted -l
sudo blkid
sudo os-prober
New command;-

Code: Select all

sudo dd if=/dev/zero of=/dev/hda bs=521 count=1
or is that errors;-

Code: Select all

sudo dd if=/dev/zero of=/dev/sda bs=521 count=1
twobit

Re: Duel Boot Problem

Post by twobit »

mint@mint ~ $ sudo fdisk -l

Disk /dev/sda: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 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: 0x0003721c

Device Boot Start End Blocks Id System
/dev/sda1 * 1 60800 488375968+ 7 HPFS/NTFS

Disk /dev/sdb: 500.1 GB, 500103634432 bytes
255 heads, 63 sectors/track, 60800 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: 0x000614cc

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3825 30720000 83 Linux
/dev/sdb2 3825 4590 6144000 82 Linux swap / Solaris
/dev/sdb3 4590 60801 451516416 7 HPFS/NTFS

mint@mint ~ $ sudo blkid
/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="AA1424AE14248005" TYPE="ntfs"
/dev/sdb1: UUID="d1abd700-dcbe-4bcb-ac14-ba3f45767c41" TYPE="ext4"
/dev/sdb2: UUID="7f674281-233f-4ce5-96e5-e2e9d6f5f459" TYPE="swap"
/dev/sdb3: UUID="6D98EE681EEA976A" TYPE="ntfs"

int@mint ~ $ sudo parted -l
Model: ATA ST3500418AS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 32.3kB 500GB 500GB primary ntfs boot


Model: ATA ST3500418AS (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 31.5GB 31.5GB primary ext4 boot
2 31.5GB 37.7GB 6291MB primary linux-swap(v1)
3 37.7GB 500GB 462GB primary ntfs


mint@mint ~ $ sudo os-prober

/dev/sda1:Microsoft Windows XP Home Edition:Windows:chain
/dev/sdb1:Linux Mint 11 Katya (11):LinuxMint:linux
SimonTS

Re: Duel Boot Problem

Post by SimonTS »

It all looks good, but you probably know that yourself by now. To summarise;-
Both hard drives are seen correctly as sda and sdb for the 'primary' and 'secondary'.
All partitions are correct across the two drive
They are labelled correctly, have the correct size and type
Most importantly - the LiveCD 'sees' both the Windows XP and the Mint systems.

Now, if you are willing to go the final step...
Boot off the LiveCD again.
Open a terminal window

Code: Select all

sudo mount /dev/sdb1 /mnt

Code: Select all

sudo grub-install --root-directory=/mnt/ /dev/sda
Reboot from the hard-drive, you will go straight to Mint (or get GRUB with Mint as the only option)
Open a terminal window

Code: Select all

sudo update-grub
Reboot again and make sure that you can boot to either Windows or Mint
twobit

Re: Duel Boot Problem

Post by twobit »

results of the three (3) commands

joann@joann-GA-MA785GT-UD3H ~ $ sudo update-grub
[sudo] password for joann:
Generating grub.cfg ...
Found background image: linuxmint.png
Found Debian background: linuxmint.png
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Home Edition on /dev/sda1
done
SimonTS

Re: Duel Boot Problem

Post by SimonTS »

Let's install GRUB (Graphical boot-loader)
Open a terminal window

Code: Select all

gksudo gedit /etc/apt/sources.list
Addthe following two lines at the end of the file;-
Save and close the file

Code: Select all

sudo apt-get update
sudo apt-get install burg
select /dev/sda for the location when asked (press <SPACE> to mark that location, then <TAB> to move to the 'OK' button and <ENTER> to accept.
Close the terminal window and reboot.
When you get the first BURG menu (it looks ugly)...
Settings can be changed directly from the Burg menu - press F2 to change the theme, F3 to change the resolution or F1 to see all the available options.
You should also see both Linux Mint and Windows listed as boot options here, but it is nice to spend a couple of minutes setting a theme that you like and changing the resolution. You can also, once you've got it sorted, press <f> to 'fold' the icons. What this will do is hide all the additional Linux boot option (such as recovery mode) behind the main Linux boot, so you will simply have two options - Mint or Windows.
twobit

Re: Duel Boot Problem

Post by twobit »

joann@joann-GA-MA785GT-UD3H ~ $ gksudo gedit /etc/apt/sources.list deb http://ppa.launchpad.net/bean123ch/burg/ubuntu maverick main deb-src http://ppa.launchpad.net/bean123ch/burg/ubuntu maverick main

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.BA8YYV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.QI93YV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.C193YV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.JR62YV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.O3H3YV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.H4F2YV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.234UYV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.7GCTYV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.N98XYV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to store changes into `/root/.local/share/recently-used.xbel', but failed: Failed to create file '/root/.local/share/recently-used.xbel.TU7OYV': No such file or directory

(gedit:2210): Gtk-WARNING **: Attempting to set the permissions of `/root/.local/share/recently-used.xbel', but failed: No such file or directory

joann@joann-GA-MA785GT-UD3H ~ $ sudo apt-get update
[sudo] password for joann:
Ign file: binary/ InRelease
Ign file: binary/ Release.gpg
Ign file: binary/ Release
Ign file: binary/ Translation-en_US
Ign file: binary/ Translation-en
Ign http://packages.linuxmint.com katya InRelease
Ign http://archive.ubuntu.com natty InRelease
Ign http://archive.ubuntu.com natty-updates InRelease
Ign http://extras.ubuntu.com natty InRelease
Ign http://archive.canonical.com natty InRelease
Get:1 http://packages.linuxmint.com katya Release.gpg [198 B]
Ign http://security.ubuntu.com natty-security InRelease
Get:2 http://packages.linuxmint.com katya Release [16.5 kB]
Hit http://archive.ubuntu.com natty Release.gpg
Hit http://packages.medibuntu.org natty InRelease
Hit http://archive.canonical.com natty Release.gpg
Hit http://extras.ubuntu.com natty Release.gpg
Hit http://security.ubuntu.com natty-security Release.gpg
Hit http://archive.ubuntu.com natty-updates Release.gpg
Hit http://extras.ubuntu.com natty Release
Hit http://archive.canonical.com natty Release
Hit http://archive.ubuntu.com natty Release
Hit http://security.ubuntu.com natty-security Release
Hit http://extras.ubuntu.com natty/main i386 Packages
Get:3 http://packages.linuxmint.com katya/main i386 Packages [8,500 B]
Hit http://archive.canonical.com natty/partner i386 Packages
Hit http://archive.ubuntu.com natty-updates Release
Get:4 http://packages.linuxmint.com katya/upstream i386 Packages [16.0 kB]
Hit http://packages.medibuntu.org natty/free i386 Packages
Ign http://extras.ubuntu.com natty/main TranslationIndex
Ign http://archive.canonical.com natty/partner TranslationIndex
Hit http://security.ubuntu.com natty-security/main i386 Packages
Get:5 http://packages.linuxmint.com katya/import i386 Packages [5,910 B]
Ign http://packages.linuxmint.com katya/import TranslationIndex
Ign http://packages.linuxmint.com katya/main TranslationIndex
Ign http://packages.linuxmint.com katya/upstream TranslationIndex
Hit http://archive.ubuntu.com natty/main i386 Packages
Hit http://archive.ubuntu.com natty/restricted i386 Packages
Hit http://archive.ubuntu.com natty/universe i386 Packages
Hit http://archive.ubuntu.com natty/multiverse i386 Packages
Ign http://archive.ubuntu.com natty/main TranslationIndex
Hit http://security.ubuntu.com natty-security/restricted i386 Packages
Hit http://security.ubuntu.com natty-security/universe i386 Packages
Hit http://security.ubuntu.com natty-security/multiverse i386 Packages
Ign http://security.ubuntu.com natty-security/main TranslationIndex
Ign http://security.ubuntu.com natty-security/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty/restricted TranslationIndex
Ign http://archive.ubuntu.com natty/universe TranslationIndex
Hit http://archive.ubuntu.com natty-updates/main i386 Packages
Hit http://archive.ubuntu.com natty-updates/restricted i386 Packages
Hit http://archive.ubuntu.com natty-updates/universe i386 Packages
Hit http://archive.ubuntu.com natty-updates/multiverse i386 Packages
Ign http://archive.ubuntu.com natty-updates/main TranslationIndex
Ign http://archive.ubuntu.com natty-updates/multiverse TranslationIndex
Ign http://archive.ubuntu.com natty-updates/restricted TranslationIndex
Ign http://archive.ubuntu.com natty-updates/universe TranslationIndex
Ign http://security.ubuntu.com natty-security/restricted TranslationIndex
Ign http://security.ubuntu.com natty-security/universe TranslationIndex
Hit http://packages.medibuntu.org natty/non-free i386 Packages
Ign http://packages.medibuntu.org natty/free TranslationIndex
Ign http://packages.medibuntu.org natty/non-free TranslationIndex
Ign http://extras.ubuntu.com natty/main Translation-en_US
Ign http://archive.canonical.com natty/partner Translation-en_US
Ign http://extras.ubuntu.com natty/main Translation-en
Ign http://archive.canonical.com natty/partner Translation-en
Ign http://packages.linuxmint.com katya/import Translation-en_US
Ign http://packages.linuxmint.com katya/import Translation-en
Ign http://packages.linuxmint.com katya/main Translation-en_US
Ign http://packages.linuxmint.com katya/main Translation-en
Ign http://packages.linuxmint.com katya/upstream Translation-en_US
Ign http://packages.linuxmint.com katya/upstream Translation-en
Ign http://security.ubuntu.com natty-security/main Translation-en_US
Ign http://security.ubuntu.com natty-security/main Translation-en
Ign http://security.ubuntu.com natty-security/multiverse Translation-en_US
Ign http://security.ubuntu.com natty-security/multiverse Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en_US
Ign http://archive.ubuntu.com natty/main Translation-en
Ign http://security.ubuntu.com natty-security/restricted Translation-en
Ign http://security.ubuntu.com natty-security/universe Translation-en_US
Ign http://security.ubuntu.com natty-security/universe Translation-en
Ign http://archive.ubuntu.com natty/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty/multiverse Translation-en
Ign http://archive.ubuntu.com natty/restricted Translation-en_US
Ign http://archive.ubuntu.com natty/restricted Translation-en
Ign http://archive.ubuntu.com natty/universe Translation-en_US
Ign http://archive.ubuntu.com natty/universe Translation-en
Ign http://archive.ubuntu.com natty-updates/main Translation-en_US
Ign http://archive.ubuntu.com natty-updates/main Translation-en
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en_US
Ign http://archive.ubuntu.com natty-updates/multiverse Translation-en
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com natty-updates/restricted Translation-en
Ign http://archive.ubuntu.com natty-updates/universe Translation-en_US
Ign http://archive.ubuntu.com natty-updates/universe Translation-en
Ign http://packages.medibuntu.org natty/free Translation-en_US
Ign http://packages.medibuntu.org natty/free Translation-en
Ign http://packages.medibuntu.org natty/non-free Translation-en_US
Ign http://packages.medibuntu.org natty/non-free Translation-en
Fetched 47.1 kB in 8s (5,251 B/s)
Reading package lists... Done

joann@joann-GA-MA785GT-UD3H ~ $ sudo apt-get install burg
[sudo] password for joann:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package burg
Last edited by twobit on Tue Jul 19, 2011 10:57 am, edited 1 time in total.
SimonTS

Re: Duel Boot Problem

Post by SimonTS »

No. Type the command

Code: Select all

gksudo gedit /etc/apt/sources.list
This will open a text-editor window with a few lines of code already in it. Go down to the end of the file and press <ENTER> to make sure that you are on a new line. Then add those other two lines;-

Code: Select all

deb http://ppa.launchpad.net/bean123ch/burg/ubuntu maverick main

Code: Select all

deb-src http://ppa.launchpad.net/bean123ch/burg/ubuntu maverick main
to the end of that file, each on separate lines. Now save (<CTRL>+<S>) and exit (<CTRL>+<Q>).
You will probably see a couple of 'Gtk-Warning' messages - which you can ignore, it's a bug not a fault.

Now enter the next two commands each on their own lines and follow the instructions. Sorry if I wasn't clear enough :oops:
twobit

Re: Duel Boot Problem

Post by twobit »

After following your instructions I had the following screen:
Sorry it did not paste. @ reboot I returned to Linux.
I think It's time to call this quits, I have bugged you long enough and "Duel Booting" will have to go to another.
I'll e-mail you regarding this issue.
Lewis
Locked

Return to “Installation & Boot”