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.
Hello everyone, so was running Windows 7 ultimate and Zorin, with a swapfile partition. I merged the C partition with another blank partition and now I'm in grub rescue mode...how can I boot Windows up, or Zorin?
Thanks!
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Hi Celsiusrising,
Welcome!
Since you altered the partitions, grub probably points to the wrong ones now. (hd 0,1) is sda1, (hd 1,1) is sdb1. Those examples are just so you know how drives and partitions are enumerated in grub.cfg. Don't change the basic format of those designations, just the numerals.
You need to look at your partitions and determine which partition holds Linux. Then, before you get the grub prompt, during the grub boot menu, press 'e' for edit. Adjust all the values so they are correct. The first 'root=' entry refers to /boot. The second one, in the 'linux' line, refers to '/'.
If those are on the same partition, they should be equal to the same thing. Set those according to the device node instead of the UUID, ie which device '/boot' and '/' are on, /dev/sdXy.
Alternatively, you can boot a Debian install disk, choose rescue, and open a chroot shell on '/' of the installed system. Then it's just like working on the installed system. From the prompt, type 'bash', to get a decent shell. Then run 'update-grub'.
The system should boot into zorin after that. You might get lucky and Windows will work too.
Awesomemachine,
I got in with the win7 installation disk, but no luck with repairs, not that I had really high Hope's of success. It goes back to the grub rescue screen on restart . So I suppose the debian rescue disk is the next effort, and I'm wondering if I can access it with my machine if I download it to my phone any thoughts?
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
The phone might not have sufficient storage to hold a DVD-sized iso. You can try it with the zorin install media. You probably need to choose 'advanced > rescue' on boot.
Awesomemachine;
I managed to get windows to boot last night with HBCD. I havent had a chance yet to see if the swapfile/linux installation is still extant, but I'd like to thank you for all your help up to this point. I appreciate it very much!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.