Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, I managed to use GRUB to manually load the linux kernel, and run update-grub as a user on the sda1 filesysem instead of the Live CD. Now I am presented with the proper grub menu and can boot to Mint normally.
Great progress, except now I can't get into Vista. When I try I get the following error in GRUB:
Code:
error: no such device: A2060A3F060A1547.
error: no such disk.
There was a SINGLE file that didn't copy from sda1 to sda3 when I was moving Windows. Something about a cache file being a special file. I think it had that number attached to it but I'm not sure.
Should I try the Windows "disc" and repair the boot , then reinstall GRUB via Live CD and repeat this process? Or will that just cause headaches?
All ms systems are particular and want to boot and reside on the first partition of the hd. There are steps you can go through to put it on other partitions. It would include having another hd to run as a slave. Here are some details how this man booted 145 using grub1, but the same can be done using grub2. I do not know if you want to go to all this trouble, you may want to consider an usb external hd.
145
I just tried to repair Vista via boot disk and the repair tool could not find automatically find my Vista installation. However, using bootrec.exe it found it just fine. I repaired the MBR and rebooted and all I got was "Missing Operating System".
So after an hour of messing with it and restoring GRUB, I'm back to where I started. One OS works but not the other. All I did was make them trade places.
It comes down to Linux will not boot unless it is the OS on partition 1. Windows will not boot OR install/repair unless it is the OS on partition 1. Why?
Why am I the ONLY person in the world who can't do something as simple as dual boot Vista and Linux?
I installed windows, moved to sda3, then installed Linux to sda1.
What? Installed windows where? moved what to sda3? Installed windows on sda1 and then moved it to sd3?
The error you report:
Quote:
error: no such device: A2060A3F060A1547.
is looking for a uuid which it can't find it. Boot Mint and run the blkid command and see what the uuid is for the windows partition.If it's not the one above, that's part of your problem.
Quote:
I just tried to repair Vista via boot disk and the repair tool could not find automatically find my Vista installation. However, using bootrec.exe it found it just fine. I repaired the MBR and rebooted and all I got was "Missing Operating System".
You got the error missing operating system when trying to boot?? vista? mint? both?
Did you use the repair options on your vista disk to repair the mbr?
I think part of your problem now is that you copied vista from one partition to another, at least I think that's what you did, maybe I'm reading it wrong.
Linux doesn't need to be on the first partition and it doesn't even need to be on a primary partition to boot.
Windows boot files need to be on a primary partition but the OS does not.
menuentry "Windows Vista (loader) (on /dev/sda3)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(/dev/sda,msdos3)'
search --no-floppy --fs-uuid --set=root A2060A3F060A1547
chainloader +1
}
The UUID's seem to match.
Quote:
You got the error missing operating system when trying to boot?? vista? mint? both?
After using bootrec.exe in the Windows recovery tools I turned it on, it went to BIOS, then I got the error. THe automated repair couldn't detect a windows installation, in spite of the fact that bootrec.exe could, and I could browse the Vista filesystem.
If Mint comes with Wubi, you might want to try that (or try it in Ubuntu if Mint doesn't have it). What Wubi does is it installs Linux to your Windows partition in a disk image, then adds an option to the Windows boot menu offering you the ability to boot to Linux on the hard disk image. Before trying if you can, make sure you repair the Windows bootloader.
Doesn't really help. I know this thread has gotten long, but I said earlier I specifically want to use grub to automatically boot linux and give me the option at each startup to boot to Vista instead.
There is nothing wrong with your vista menuentry in the grub.cfg file you posted above.
You have Grub installed in the mbr and can boot Mint so it's not likely the bootloader.
You might check the /etc/fstab and /etc/mtab files to see what entries you have for sda3 or which are ntfs.
If there is no problem there, I expect your boot files on vista got messed up in the copying.
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda2 during installation
UUID=d4ef5726-9e06-49df-845d-3dd0a1c93e44 none swap sw 0 0
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.