LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-01-2012, 06:02 PM   #16
Aviopene
LQ Newbie
 
Registered: Apr 2012
Location: Italy
Distribution: Gentoo
Posts: 4

Rep: Reputation: Disabled

I've finally solved my problem. Looking for someone else having troubles with USB disks like mine, I found this thread: http://community.wdc.com/t5/My-Passp...ux/td-p/370439. The guy in the last post suggests to keep grub below cylinder 1023, and so I did. Now grub2 works fine: it seems that the silliest solution was the right solution in this case. I also suppose that most of the issues were coming from my USB drive rather than from grub2, so let's give the devil his due
 
Old 05-01-2012, 08:49 PM   #17
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Wow, a lot of great info.

Did you by anychance use the "symbolic" menu entry for Debian based OS's that I posted? I am just curious about that. They are all I use as it keeps my menu short and sweet.

You can have 2 entries per OS if you want. Just edit the instruction string to read "..... ro single" dropping every thing else. I never do it is shorter without it, editing the entry to read that way for one boot is fast (how often do you need recovery mode?).

I think that may cure the file system problem. Really sounds like a script problem to me, makes me wonder about the integrety of your grub install.

There is a slight chance, but a chance none the less, of malware infecting your MBR. Testdisk will right new, blank, code to the MBR if you think that at all a possibility. You will, of coarse, have to reinstall grub to your MBR after that.

Ubuntu started using Grub2 first (as default boot loader) of any distro. I was testing the dev release version of 9.10 when that was introduced one day right after alpha 2. No documentation. What a ride. We, the testers, spent 2 weeks editing the grub.cfg file directly to tweak things. Slowly learned how to deal with it.

That first iteration we got would not boot the OS it was on if the OS was installed on 2 partitions. A single partition install would boot other installs that were installed on 2 partitions. Just plain weird.

The Ubuntu community documentation is the best for Debian based installs using grub-pc. RH branch installs do not even use the same commands to install or update grub.
https://help.ubuntu.com/community/Grub2

The best thread to get on to for answers to the stickiest problems is on the UFs, if you can stand that outfit.
http://ubuntuforums.org/showthread.php?t=1195275

The OP there was one of the testers in 9.10-testing. Did a lot of research and shared it. Did and continues to do a lot of experimentation with grub-pc. Pulled all of the discoveries that all of us made and started the basis for that linked thread on the testing forum.

He is also the main perpetrator of the Ubuntu Community link I posted.

While I have given up on Ubuntu and particularly their Officail Forums, there are people and threads I miss there. Drs305 and his many threads on how to make grub-pc sit up and beg being at, or at least near, the top of the list.
 
Old 05-01-2012, 10:50 PM   #18
widget
Senior Member
 
Registered: Oct 2008
Location: S.E. Montana
Distribution: Debian Testing, Stable, Sid and Manjaro, Mageia 3, LMDE
Posts: 2,628

Rep: Reputation: 497Reputation: 497Reputation: 497Reputation: 497Reputation: 497
Quote:
Originally Posted by Aviopene View Post
I've finally solved my problem. Looking for someone else having troubles with USB disks like mine, I found this thread: http://community.wdc.com/t5/My-Passp...ux/td-p/370439. The guy in the last post suggests to keep grub below cylinder 1023, and so I did. Now grub2 works fine: it seems that the silliest solution was the right solution in this case. I also suppose that most of the issues were coming from my USB drive rather than from grub2, so let's give the devil his due
Now that is really cool. A lot of problems come from bios. Have had trouble with this Dell box bios at times.

Am not a big user of /boot partitions as I do not dual boot, I multi boot with many Linux installs. I like to swap the grub duties between them to make sure all are working.

That post, however, will be copied to the file on such things that I keep. Will be trying it out soon myself to verify that it works on my hardware.

Thank you very much.

I am one of those folks that really loved grub-legacy but was aware of the many problems with keeping it up to the new file systems and bootable media that seem to come out every other month.

Grub-pc is really much more adaptable to these things.

Will, with full attribution, be passing this on.

Thanks again.
 
Old 05-29-2012, 08:34 AM   #19
Aviopene
LQ Newbie
 
Registered: Apr 2012
Location: Italy
Distribution: Gentoo
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Aviopene View Post
As a side-note, I also had problems with the graphical part of grub2. On my main machine, a gentoo installation on top of a recent PC, grub2 isn't able to go into graphical mode. I tryed almost everything to fix it, to no avail. This makes me think that grub2 has still some bug to correct before it can be considered as reliable as grub-legacy.
For posterity: after literally months of lazy trials and errors, I've managed to make Grub2 go in graphical mode. Testing grub with:

Code:
sync ; echo 3 > /proc/sys/vm/drop_caches ; qemu -hda /dev/sda
I've noticed an almost invisible (due to normal boot speeds) error about a "/boot/grub2/unicode.pf2" file not found. After a simple symbolic linking from "/usr/share/grub/unicode.pf2", Grub2 went into graphical mode.
 
  


Reply



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
GRUB error: unknown filesystem, grub rescue magnecticfield Linux - Newbie 28 07-30-2013 03:35 AM
Grub: Unknown filesystem error syco__ Linux - Newbie 2 03-18-2012 01:01 AM
GRUB error: unknown filesystem, grub rescue nnjond Linux - Newbie 4 12-26-2011 07:46 PM
GRUB error: Unknown Filesystem hagel Linux - Newbie 6 03-24-2011 01:02 AM
Grub error: unknown filesystem LydonZA Linux - Newbie 6 05-27-2010 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:01 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
Open Source Consulting | Domain Registration