LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-12-2011, 03:50 PM   #61
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589

So grub legacy comes up, your able to boot voyager, but not debian. If that is true use the debian rescue cd to install grub2 to the debian partition ,and chainload from grub legacy, Your grub legacy might not be able to boot an ext3 that is formatted with a 256 anode size , some grub legacy versions can only handle a partitions formated with a 128 anode size, That might be the problem
 
Old 12-12-2011, 03:55 PM   #62
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
No no no... grub doesn't load from a normal boot. I can get to it by using superbootmanager on an external floppy.
 
Old 12-12-2011, 07:58 PM   #63
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Quote:
Originally Posted by sdfi View Post
It does not have the GUI, that would probably be why it is so small.

Also, I have been able to get into both installs (booting from external floppy) using smartbootmanager.

edit: it seems smartbootmanager should be ok as a replacement for supergrub disk as it has grub 1.98

update: all files found (plus many more).. also entering commands returned nothing.. it started the boot process.. currently thrashing the floppy drive. It seems you are trying to boot into an old voyage kernel, fwiw. I stopped it after about 5 minutes. [but as above, i can boot them w/ smartbootmanager]
I don't think smart btmgr has grub 1.98. It only chainload existing grub. We need to check first if installed debian works properly by bypassing grub in MBR. Please try again with supergrub2 disk.

btw, some people here mixed up grub stanzas

for /boot/grub/menu.lst to boot debian 6

root (hd0,4)
kernel /boot/vmlinuz-2.6.32-5-686 root=/dev/sda5 ro
initrd /boot/initrd.img-2.6.32-5-686
boot

for /boot/grub/grub.cfg

set root=(hd0,5)
linux /boot/vmlinuz-2.6.32-5-686 root=/dev/sda5 ro
initrd /boot/initrd.img-2.6.32-5-686
boot

HTH
 
Old 12-12-2011, 08:33 PM   #64
62chevy
Member
 
Registered: Mar 2002
Location: West (By God) Virginia
Distribution: Debian Squeeze - Sid
Posts: 281

Rep: Reputation: 45
if you can boot into Debian then as root run ' dpkg-reconfigure grub-pc '. dpkg will ask you a couple of questions so make sure you install grub to /dev/sda. Then it will run update-grub. Hopefully after that you can boot into all 3 of your Distros. If only Debian then run update-grub yourself and that should work.
 
Old 12-12-2011, 09:07 PM   #65
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
hurry_hui; Thanks, yes the one posted before was so wrong. As noted, debian works when chainloading with the existing grub. So do i still need to use subergrub2disk ?? The reason i ask is i've had no luck yet getting it to make a boot floppy. It seems to be the same as smrtbtmgr?

@62chevy.. no, i've done that many times. I did it again. no it makes no change, although i have grub2 again now. And there are only 2 distros.
 
Old 12-12-2011, 09:42 PM   #66
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,348

Rep: Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589Reputation: 1589
Sorry about that, had the wrong root partition number in my earlier post. are you now able to boot off your harddrive into voyager without using the floppy disk?
 
Old 12-12-2011, 09:44 PM   #67
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
I do not know what the thing is supposed to look like, but if you have grub2 working, you could add a menu entry for your MS install to the 40_custom script file and it should work from there.

Some kind soul would have to supply the entry for you if you do not know it. I sure don't.
 
Old 12-13-2011, 01:51 AM   #68
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Quote:
Originally Posted by sdfi View Post
hurry_hui; Thanks, yes the one posted before was so wrong. As noted, debian works when chainloading with the existing grub. So do i still need to use subergrub2disk ?? The reason i ask is i've had no luck yet getting it to make a boot floppy. It seems to be the same as smrtbtmgr?

@62chevy.. no, i've done that many times. I did it again. no it makes no change, although i have grub2 again now. And there are only 2 distros.
Yes, you still need supergrub2 disk, apparently there is something missing in existing grub. Smart btmgr is just a bootmanager and requires bootloader like grub, lilo, or ntloader installed to root partition (or MBR) to operate properly.

If you have floppy you can use dd (linux) like below or rawrite / rawritewin for windows.

dd if=name_of_supergrub2_disk.iso of=/dev/fd0

(you need blank floppy to do this)

If you prefer USB you can use dd and/or unetbootin (having support for both linux and windows).
 
Old 12-13-2011, 02:27 PM   #69
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
OK i have supergrub2disk working now. what exactly do i need to input?? because 'ls (hd0,1)/' returned 'error: no such partition' and 'linux /boot/...' returned "unknown command 'linux'".

@widget; there is no windows, i don't know where you got that idea.
@c.purple; still no. and it's voyage.
 
Old 12-13-2011, 05:04 PM   #70
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Quote:
Originally Posted by sdfi View Post
OK i have supergrub2disk working now. what exactly do i need to input?? because 'ls (hd0,1)/' returned 'error: no such partition' and 'linux /boot/...' returned "unknown command 'linux'".

...

You can try menu 'Detect any OS'. This should output kernels detected on harddisk.

If this cannot work properly we can try 'ls' to see available hdd and partition and then manually enter certain folders.
 
Old 12-13-2011, 05:43 PM   #71
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
"unknown command 'menu'"
"unknown command 'Detect'"

ls:
"(hd0) (fd0)"
ls (hd0):
"error: unknown filesystem"
ls (hd0,0)/ls (hd0,1)/ ls (hd0,2):
"error: no such partition"
 
Old 12-13-2011, 05:56 PM   #72
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 sdfi View Post
OK i have supergrub2disk working now. what exactly do i need to input?? because 'ls (hd0,1)/' returned 'error: no such partition' and 'linux /boot/...' returned "unknown command 'linux'".

@widget; there is no windows, i don't know where you got that idea.
@c.purple; still no. and it's voyage.
Well I got that idea from this in your boot info script results;
Quote:
sdb1: __________________________________________________________________________

File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
and way a little concerned about the lack of boot files. I guess I will quit worrying about that.
 
Old 12-13-2011, 06:22 PM   #73
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
Ahh. That would be the usb drive
 
Old 12-13-2011, 06:51 PM   #74
hurry_hui
Member
 
Registered: Oct 2008
Location: Near Jakarta
Distribution: Slackware, Arch, Slax, Porteus, Tiny Core, Slitaz
Posts: 355
Blog Entries: 1

Rep: Reputation: 52
Quote:
Originally Posted by sdfi View Post
"unknown command 'menu'"
"unknown command 'Detect'"

ls:
"(hd0) (fd0)"
ls (hd0):
"error: unknown filesystem"
ls (hd0,0)/ls (hd0,1)/ ls (hd0,2):
"error: no such partition"
Sorry for not being clear.

on supergrub menu there are followings:

Detect any OS
Detect any GRUB2 configuration file (grub.cfg)
Detect any GRUB2 installation (even if mbr is overwritten)
Detect loop bootable isos (in /boot-isos or /boot/boot-isos)
Enable GRUB2's LVM support
Enable GRUB2's RAID support
Enable GRUB2's PATA support (to work around BIOS bugs/limitations)
Enable GRUB2's USB support *experimental*
Enable serial terminal
List devices/partitions

-----------------------------------

select this menu to activate ata module
Enable GRUB2's PATA support (to work around BIOS bugs/limitations)

then try again with this menu
Detect any OS

or try these on command line

insmod ext2

ls (hd0,1)/

ls (hd0,5)/

HTH
 
Old 12-13-2011, 07:37 PM   #75
sdfi
Member
 
Registered: Oct 2011
Distribution: debian
Posts: 107

Original Poster
Rep: Reputation: Disabled
soo.. how do i get to this menu? ..all i have is a grub recovery prompt.

edit: I am getting 'error: out of disk' and then the prompt.. not the menu i think you're talking about as here

Last edited by sdfi; 12-13-2011 at 08:03 PM.
 
  


Reply

Tags
grub, install, mbr



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
[SOLVED] cannot install grub (grub-probe says 'unknown fs' with ext4 and md raid) cusco Linux - Software 3 03-15-2011 01:58 AM
Grub - Does fedora automatically install a bootloader like grub? or... mitchell7man Linux - Software 10 05-09-2007 10:49 AM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 02:01 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM

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

All times are GMT -5. The time now is 01:21 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