Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 2 OS installed in my desktop pc: win xp and linux debian etch4.0, it worked witout troubles during more than 3 years , but these days i've got this msg:
"no boot sector found on your system , please reboot your computer"
i use supergrubdisk to boot windows , but i can't boot linux partition in any way using this disc -because when i tried to boot it it stopped" , i 've verified that it exixts with knoppix but my question is:
How to repair grub menu using one of these 2 cds without formatting my data or uninstalling one of the 2 systems because i need them all with my data.
well your MBR has been written over use knopix or puppy linux to install grub back on the MBR. before you do this back up your menu.1st then install grub from puppy
then put your menu.1st. if you have an image in /boot/grub like most systems. looks like this for my sda drive
Quote:
mbr.sda.28181
then as root
Quote:
# The backup copy of the MBR for drive '/dev/sda' is
# here '/boot/grub/mbr.sda.28181'. You can restore it like this.
# dd if=mbr.sda.28181 of=/dev/sda bs=512 count=1
Thanks Drakeo, I too will use your advice. I am big Puppy fan. I multi-boot
too, and have mastered menu.lst edit to get to Puppy frugal installs from
older Ubuntu etc. but now stuck with Grub2. I got the need to edit 40_custom, activate, and "sudo grub-update" but I need to see an example of the syntax for puppy within 40_custom. Content of 40_custom is not showing in grub at start-up. Has anyone done this and written a little
step-by-step? I think best solution to multi-boot is a separate boot partition, 300 Mb, so independent of other linux. On this pc I have XP
and Ubuntu, Mint and Omega, along with 4 frugal puppies. Old grub.
I hesitate to go to grub2 until I grasp the method. Thanks and best wishes,
ZZRON357
I learned everything on this tutorial about dealing with grub2. as like you ubuntu wants to control the computer. I have super grub2 boot disk it will load ext4 file systems. Once you learn how to use the CLI in it you will be ok.
I learned then uninstalled it did not care for grub2. Hard to beieve it was set up for multiple systems. What they mean is multiple Ubuntu systems.
i've tried knoppix but it failed so: i've find these results:
tripleh:
Tried what with Knoppix?
Are you still able to boot xp?
Were you previously booting both with Debian Grub?
Using your Knoppix disk, are you able to view folders/files on Debian partition?
You should have Grub files in your Debian /boot directory. Installing Grub is pretty simple, the problem is getting it to the correct partition. From your post, it should be (hd0,1). Did you use the Knoppix DVD to get to the Grub prompt to verify Debian is on (hd0,1)? If you are sure Debian /boot is on (hd0,1), you can reinstall Grub from a terminal as root user at grub prompt:
root (hd0,1)
setup (hd0)
quit
Quote:
So, i want to be sure if : restoring backup of boot of windows partition earses my data or not -using super grub disc-
I'm not sure what the above means?? Are you referring to Drakeos suggestion above?
-opening a root shell:
-type: grub
-root(hd0,0) at this step i've got:
error 27: unrcognized command. -here i didn't understand.
2]-after burning 90% of my data on a dvd+rw with k3b , now i can't boot my win xp partition it start booting and interrupt booting , it reboots automatickly .?
3]-Were you previously booting both with Debian Grub?
Yes, i did it for 3 years and a half.
4]using knoppix cd : yes i can view all my folders/files on the 2 partitions : hda1 and hda2 (win xp, linux debian)
5]well , this is my :/boot/grub/menu.lst : please do a review on it and tell me what to do exactly : either i use knoppix or debian dvd prompt.
6] i mean if i use super grub disc : there is option called: "restore backup of boot of windows partition".
with the post of Draeko i didn't use puppy , also i'm so afraid to lost my files doing a mistake , i've searched a lot of documents about this trouble .
Thanks.
Last edited by tripleh; 01-08-2011 at 03:06 AM.
Reason: error in attachement
If you download ubuntu-live-cd desktop version , you can just boot system and select "try ubuntu" and have gui to both window and debian system.
Once in open examples folder and you can do anything you need to.
To open terminal in file manager go to /usr/share/applications double click on terminal.
-opening a root shell:
-type: grub
-root(hd0,0) at this step i've got:
Did you do the above from a grub prompt? (grub>)
I assume you did not put the dash (-) in front of the command? If you typed it the way it is printed above, it won't work. You need a space between the word root and the (hd0,) like this: root (hd0,0) That's why you got the "unrecognized command error". You indicated above that you thought your Debian was on (hd0,1)? You need to get the right partition for it to work.
Quote:
5]well , this is my :/boot/grub/menu.lst : please do a review on it and tell me what to do exactly : either i use knoppix or debian dvd prompt.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.