Linux - NewbieThis 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
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.
Hi I have windows xp on my harddrive and I added Fedora on a seperate partition. While trying to add a sharing partition for some reason my bootloader stopped working and I could not access either fedora or windows. So I got mandriva on a pendrive and booted to try to fix it from that. So I ended up adding mandriva so i could use its bootloader to access windows and fedora, but I cant boot fedora. I was wondering if anyone could help me add this correctly.
Looks like you have 3 partitions: sda1 is a Windows partition (~40GB), while sda5 (~22GB) and sda6 (~92GB) are both Linux partitions.
Where did you create your "sharing" partition?
Your original partitions may still be intact!
Try mounting the partitions to see if they are the original one.
You can try re-installing Grub so that it boots to those two partitions (do a search for how to do this).
Don't know about the permissions problem, but then I haven't looked at Mandy in forever - try "cat /boot/grub/menu.lst". If that works post the output of
Code:
grep -vE "(^#|^\s*$)" /boot/grub/menu.lst
(reduces the output).
Also, what does "df -hT" produce ???
The sharing partition never got made so I dont have that one. I am pretty sure the data is still there its just that I cant get it to boot from grub so i cant access it at all.
I think all you really need to do is
1)boot from a rescue cd;
2)determine which partition (sda5 or sda6) has your original /boot partition;
3)re-install grub by running grub-install and then setup your grub environment (do a search for grub-install for specifics).
It says permission denied even though I am in root. Any suggestions?
Are you sure you are running with root permissions? Run "whoami" to verify this. You can alway run "sudo cat ..." if you are not root, or run "sudo bash" to get a session as root.
Are you sure you are running with root permissions? Run "whoami" to verify this. You can alway run "sudo cat ..." if you are not root, or run "sudo bash" to get a session as root.
Don't know about the permissions problem, but then I haven't looked at Mandy in forever - try "cat /boot/grub/menu.lst". If that works post the output of
Code:
grep -vE "(^#|^\s*$)" /boot/grub/menu.lst
(reduces the output).
Also, what does "df -hT" produce ???
[root@localhost guest]# df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda5 ext2 22G 1.4G 19G 7% /
[root@localhost guest]# cat/boot/grub/menu.lst
bash: cat/boot/grub/menu.lst: No such file or directory
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.