LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-01-2006, 09:11 AM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
knoppix not allowing me to chroot into sarge


I messed up my MBR so i needed to reinstall grub. I was told if I could chroot into sarge via knoppix then i could install grub. But i'm getting this error

cant run command /bin/bash exec format error. I tried mounting the partiton as rw as well as ro. The partiton with the kernel image is within the partition I mounted. So I have it setup with everything in 1 partition.
 
Old 01-02-2006, 07:31 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
if you have a knoppix loaded try this

open a terminal then its commands

su
grub
root (hdX,Y) where grub is to find the /boot folder or /boot partition in grub speak see my tut
setup (hd0) assuming mbr for first drive is where to put grub
 
  


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
no direct rendering within 32bit sarge chroot linuxmandrake Debian 0 12-24-2005 01:21 PM
linking offical debian drivers to chroot on sarge linuxmandrake Debian 0 12-20-2005 09:51 AM
Cedega 4.4.3-1 snd steam within sarge 32bit chroot on 64bit sarge linuxmandrake Linux - Games 0 12-17-2005 11:24 AM
cant open display within 32bit sarge chroot linuxmandrake Debian 2 12-17-2005 10:59 AM
chroot 32bit on 64bit install of sarge linuxmandrake Debian 1 12-06-2005 10:14 AM

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

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