LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-20-2011, 09:34 PM   #16
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113

Code:
menuentry 'Linux Mint 11, 2.6.38-8-generic (/dev/sda3)' --class linuxmint --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod part_msdos          # What is this?
	insmod ext2
	set root='(/dev/sda,msdos3)'  #I don't think is right should be set root='(hd0,3)'
	search --no-floppy --fs-uuid --set=root 7304c5bc-5b82-4142-a9c5-5b83cbbc8118
	linux	/boot/vmlinuz-2.6.38-8-generic root=UUID=7304c5bc-5b82-4142-a9c5-5b83cbbc8118 ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-2.6.38-8-generic
}
Those in Red don't look right to me. What is your boot errors now after you rearanged your Harddrive?

Last edited by jmc1987; 11-21-2011 at 12:02 PM.
 
Old 11-21-2011, 08:34 AM   #17
SuperMechaCow
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
SSDD.

Still grub error: unknown file system

I don't understand how an automated process that works for just about everyone else fails for me.

So how do I go about correcting that? I'm not supposed to configure that file manually.
 
Old 11-21-2011, 10:04 AM   #18
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Quote:
insmod part_msdos
I have Ubuntu 10.10 as well as 11.10 on different partitions and they both have that line present and they boot so that isn't the problem.
Also, both of my grub.cfg files have entries similar to below:


Quote:
set root='(hd0,msdos3)'
I've seen posts of grub.cfg files which have entries similar to the OPs (/dev/sda) so don't know if that matters.
You can edit the grub.cfg file and change the /dev/sda part to: set root='(hd0,msdos3)'. Do this as root, save the file and reboot. Do not run update-grub before rebooting. There are reasons why they don't want you to manually edit the file but that's too long an explanation to get into here, your computer won't explode. Write down what you did so that if it doesn't change, you can put it back to the original.

The information from bootinfoscript looks OK. The only interesting thing I see is that your windows Recovery partition seems to be on a different hard drive. Note the set root line below??

Quote:
menuentry "Windows Recovery Environment (loader) (on /dev/sdb1)" --class windows --class os {
insmod part_msdos
insmod fat
set root='(/dev/sdb,msdos1)'
search --no-floppy --fs-uuid --set=root 087a-7547
drivemap -s (hd0) ${root}
chainloader +1
 
Old 11-21-2011, 11:19 AM   #19
SuperMechaCow
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
I install my Vista via a USB stick. I also use this to store logs and scripts I need as I'm constantly rebooting to the Live CD. Its possible the drive just happened to be plugged in last time I installed GRUB. There is no recovery partition set up for Vista, although it's starting to sound like a good idea. When I heard Win7 had super-fast installation I thought it was a a useless feature. Now I really wish I had it.

Regardless, this shouldn't have a huge impact on the error at hand, should it? Seeing as how it wasn't plugged in half of the times I installed GRUB and it still got the same error.

Also, I think my partitions are being listed backwards. I think msdos3 is sda1 but I'm not sure.

I'll poke around with the config when I get home. Worst case scenario I won't be able to boot to my hard disk if I mess up, which isn't much of a threat at this point.
 
Old 11-21-2011, 02:30 PM   #20
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
That would be my next suggestion is to do a new install and make sure all usb is unplugged with Vista installed and working.

Then if you do come back and let us know if that fixed the problem.

Last edited by Larry Webb; 11-21-2011 at 02:32 PM.
 
Old 11-21-2011, 02:36 PM   #21
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,332

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Quote:
Also, I think my partitions are being listed backwards. I think msdos3 is sda1 but I'm not sure.
Why would you think that? Your bootinfoscript output clearly shows in several places that sda1 is an ntfs partition and sda3 is ext4.

Can't really think of anything else. Have you tried the suggestion below, got it from ubuntu forums but don't know if it will apply.

If at the grub prompt, type ls and ENTER. If the command does not display all the partitions, reboot and enter your computer's BIOS setup. Ensure the BIOS reports the full disk size.
 
Old 11-21-2011, 03:26 PM   #22
SuperMechaCow
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
That would be my next suggestion is to do a new install and make sure all usb is unplugged with Vista installed and working.

Then if you do come back and let us know if that fixed the problem.
I've already done that, albeit not intentionally.

Quote:
Your bootinfoscript output clearly shows in several places that sda1 is an ntfs partition and sda3 is ext4.
Oh yea. Oops!

Quote:
If at the grub prompt, type ls and ENTER. If the command does not display all the partitions, reboot and enter your computer's BIOS setup. Ensure the BIOS reports the full disk size.
My BIOS was "stringently locked" by the manufacturer. I would have to send in my motherboard for replacement in order to access the BIOS again. Its something I'm very unhappy about
 
Old 11-21-2011, 03:57 PM   #23
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by SuperMechaCow View Post
I've already done that, albeit not intentionally.



Oh yea. Oops!



My BIOS was "stringently locked" by the manufacturer. I would have to send in my motherboard for replacement in order to access the BIOS again. Its something I'm very unhappy about
If your unhappy about that you will be unhappy about this
http://www.fsf.org/campaigns/secure-...stricted-boot/

Maybe you have an early implementation of this new software.
 
Old 11-21-2011, 05:45 PM   #24
SuperMechaCow
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
Yea that's something Microsoft has already said that Windows 8 will have that. That doesn't bother be as much as SOPA.

But that's not what I have. There's an option to burn the BIOS password to chip so that it won't be lost by power failure. The only way to have it removed it either know the password or have it reflashed. I know neither.

That's not the issue at hand.
 
Old 11-21-2011, 06:22 PM   #25
jmc1987
Member
 
Registered: Sep 2009
Location: Oklahoma
Distribution: Debian, CentOS, windows 7/10
Posts: 879

Rep: Reputation: 113Reputation: 113
Quote:
Originally Posted by SuperMechaCow View Post
Yea that's something Microsoft has already said that Windows 8 will have that. That doesn't bother be as much as SOPA.

But that's not what I have. There's an option to burn the BIOS password to chip so that it won't be lost by power failure. The only way to have it removed it either know the password or have it reflashed. I know neither.

That's not the issue at hand.
I guess you can't flash it your self with out booting then. OUCH! you might be in trouble.
 
Old 11-21-2011, 07:10 PM   #26
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
I have never ran into a restricted bios but have heard of them. If this is the case you might try making a these partitions to bypass

partition 1 primary 20 meg boot
partition 2 primary xx gig vista
partition 4 extended
partition 5 logical 10 gig mint /
partition 6 logical 18 gig mint /home
partition 7 logical xxxxx data

Install grub to a separate partition and try to chainload your distros. You will need to map your menu for vista boot. This should get you around any boot restrictions to boot 1st partition.
 
Old 11-21-2011, 07:48 PM   #27
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I don't know if grub2 has the 128Gig limit, but I've noticed that it's never talked about. If I'm correct then wins should be no more than 126 or 127Gig to place grub within 128 Gig read limit.
 
Old 11-21-2011, 09:08 PM   #28
SuperMechaCow
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
Quote:
I guess you can't flash it your self with out booting then. OUCH! you might be in trouble.
I can't even boot to linux! There's NO WAY I'm mucking around with flashing my chipset! It's not an Xbox, it's my COMPUTER!

Quote:
partition 1 primary 20 meg boot
partition 2 primary xx gig vista
partition 4 extended
partition 5 logical 10 gig mint /
partition 6 logical 18 gig mint /home
partition 7 logical xxxxx data
OOOHHHH GOODD! SO many partitions!

I never knew the BIOS could specify a partition to boot to. I thought it was just by device. I at least have the power to select my boot device, but individual partitions are not on the list. Besides, the Windows installer will only allow me to install to the first partition on the disk. In order to accomplish what you're saying, I would have to install Windows then manually move the files over to another partition. Windows HATES that.

Quote:
I don't know if grub2 has the 128Gig limit, but I've noticed that it's never talked about. If I'm correct then wins should be no more than 126 or 127Gig to place grub within 128 Gig read limit.
I'm obviously not the expert here, but I know that can't be true. Linux boots just fine when it gets the entire hard drive to itself, and I'm using a 320gb. Unless Linux is totally bypassing GRUB (not likely), then GRUB 2 is working fine on a partition bigger than 128gb.

Quote:
You can edit the grub.cfg file and change the /dev/sda part to: set root='(hd0,msdos3)'. Do this as root, save the file and reboot. Do not run update-grub before rebooting.
Did this. Same error. Also tried removing the menu entry for sbd1. Still not working.

I will try what Larry said. Does it ABSOLUTELY have to be a dedicated /boot partition or can I get away with /root? Also, I have no understanding of extended partitions. Doesn't that mean it's "unallocated" space that the previous partition can acquire if needed, or do I really just have no idea what I'm talking about?
 
Old 11-21-2011, 09:48 PM   #29
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
I'm obviously not the expert here, but I know that can't be true. Linux boots just fine when it gets the entire hard drive to itself, and I'm using a 320gb. Unless Linux is totally bypassing GRUB (not likely), then GRUB 2 is working fine on a partition bigger than 128gb.
I apologize as I didn't make myself clear previous grubs had to be placed within the first 128Gig of the drive or it would be beyond the systems bios to be read.
http://www.mail-archive.com/misc@ope...msg101169.html

Last edited by EDDY1; 11-21-2011 at 09:57 PM.
 
Old 11-22-2011, 12:10 AM   #30
SuperMechaCow
LQ Newbie
 
Registered: Nov 2011
Posts: 28

Original Poster
Rep: Reputation: Disabled
Yea, I understand what you mean. I'm just saying it doesn't apply in this case. But thank you.

I did what Larry said, and it worked! No, just kidding. I now have a grub prompt instead of a grub rescue prompt.

...Now what?

update-grub does not work from live cd. It just gives me this error:

Quote:
usr/sbin/grub-probe error: cannot stat 'aufs'.
Grub-install gives me the same error, but then it says it installed without any errors. I havent even tried it yet because I'm to close to finally fixing it to risk messing it up.

What should I do?

Last edited by SuperMechaCow; 11-22-2011 at 12:12 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot Linux Mint 10 and Windows 7 Problems Pogo947 Linux - Newbie 4 06-02-2011 04:03 PM
Grub 22 error using dual boot of Win7 and Linux Mint brianste Linux - Newbie 12 12-30-2009 09:31 PM
How to dual boot linux mint and fedora12 dalfish Linux - Newbie 3 12-02-2009 11:37 AM
I am getting a frozen screen once i try to load linux mint through grub in dual boot putush Linux - Newbie 2 10-25-2007 01:08 AM
GRUB Dual Boot system errors with XP and Fedora 3 Armageddon00 Linux - Newbie 10 01-11-2005 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration