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.
I've a problem with my computer(dual boot win7 and ubuntu11).
I resized the windows-system-partition and a NTFS-data-partition, with the windows-standard tool. After the next reboot the grub loader started with:
error: no such partition.
grub rescue>
After a bit of research I tried to find the right partition with the grub directory:
grub rescue>ls
(hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
grub rescue>ls (hd0,msdos1)
error: unknown filesystem
for all partitions that are listed with 'ls' the same respond.
something like "error: no such file" should be the correct
respond for an accessible partition.
The prefix and root is set to:
grub rescue>set
prefix=(hd0,msdos6)/boot/grub
root=hd0,msdos6
I tried to set it to any other partition but after a reboot the prefix and root is still on hd0,msdos6; but this don't exist.
Recognized grub commands are: ls/set/unset/insmod , and the prefered answer is:
error: unknown filesystem
I also tried to boot from CD. But this don't work neither with the win7 or the ubuntu CD.
So it looks like I crashed the machine.
Please help me.
If you don't care about losing data u can use UNetbootin and Parted Magic to completely format your drive in NTFS and install win 7 again and then do the dual boot again.
I had the grub rescue error before when I accidentally deleted a Linux partition with the disk manager in win7. Z/Z
When you resized your windows partition you may have corrupted your ubuntu / partition or changed the mapping. The easiest repair would be to reinstall ubuntu and make sure to select the right partitions to install. Also backup any data you want to save on the ubuntu now on your h/d.
thanks for help.
@LinuxNoobX: I'm reading about the UNetBootIn, I never needed to boot via usb-drive.
@Larry: The main problem is that no CD/DVD is recognized for booting.
All important data was saved on another drive. So it's just the annoying reinstallation.
The win7 system runs for 2 years, the system partition was full. I needed to uptdate a programm, thats why i tried to resize the partitions. win7 is a hd-space-greedy-thing, you give 30GB and it needs 31GB, you try it with 40GB and after to weeks it needs 41GB.
You notice if you look in the windows folder for win 7 after about a year of using it that there are alot of .sxs files that account for why windows 7 bloats up so much. These files also help the OS run more smoothly as well... so it's a good trade off. I am glad we were able to help Z/Z
That is not solved, that's ignored.
To be considered solved you must find a solution. All you did was put off learning.
I had a similar problem and had great hopes when, in my search, I found your "SOLVED" thread.
All you did was completely trash your install, (basically used the windows XP/macOS method of boot repair)
BTW to solve this issue, I suggest trying
Rescatux or Super Grub2 Disk http://www.supergrubdisk.org/
It takes some reading (less time than I spent on the actual search), but worked for me.
I created a rescatux bootable usb, then used the process as described on their website.
I did not have to re-install any of the 3 operating systems affected by my error.
That is not solved, that's ignored.
To be considered solved you must find a solution. All you did was put off learning.
It would appear to me he solved his problem.
Quote:
I had a similar problem and had great hopes when, in my search, I found your "SOLVED" thread.
All you did was completely trash your install, (basically used the windows XP/macOS method of boot repair)
hey thank you,
@LQ Newbie i read your thread and it was very helpful to me..but i have a doubt can i copy ubuntu from cdrom to pendrive and then install it?wil it work??
and because of this will my data in win & will b deleted?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.