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.
I have a dual boot system with XP and Fedora and I made some changes to my XP partition and now rather than receiving the usual grub menu list I am taken to a grub prompt -> grub>
I have searched high and low for a solution to this and was able to come across some commands which have enabled me to log into Windows using the 'chainloader+1' command but I can no longer locate my Linux partition.
I tried using the fedora cd to repair my system but it could not find Linux on my system. I tried using the 'find /boot/grub/stage1' command but it could not find anything. I also used a mepis Live cd and ran the command
Fdisk -l with the output below
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2294 18426519 7 HPFS/NTFS
/dev/sda2 2295 8031 46082448 7 HPFS/NTFS
/dev/sda3 8032 20779 102398309+ f W95 Ext'd (LBA)
/dev/sda5 8032 20779 102398278 7 HPFS/NTFS
My 3 windows partitions are fine on sda1,2 and 5 but there is no output for my Linux partition - Does this mean that my Linux install has gone forever or is there any way I can still rescue it?
I wouldn't say it was sensitive data but it will definitely be a major pain to lose all of my configuration files and all of the tools I had installed - It took me a long time to get things working exactly the way I liked. Thanks for the link.
I wouldn't say it was sensitive data but it will definitely be a major pain to lose all of my configuration files and all of the tools I had installed - It took me a long time to get things working exactly the way I liked. Thanks for the link.
I know this may not help but it is easier the next time around. If you get it back up check out the different ways to create backups.
surely (can anyone please back me up on this) if you had the patience and the storage to do so, you could take an image of the entire disk. You'd need a live disc and another hard disk the same size or bigger than youre original. Doing this takes each byte and copies it to a new location.
it uses the "dd" command. another poster may be able to help you here
You can try to restore your partitions with TestDisk. You might be advised to make a clone copy of your HDD with the command "dd" or with Clonezilla. This lets you try a restoration and fail without loosing data and gives you a chance to try again.
You can try to restore your partitions with TestDisk. You might be advised to make a clone copy of your HDD with the command "dd" or with Clonezilla. This lets you try a restoration and fail without loosing data and gives you a chance to try again.
OK I think I might be almost back in business but I am still having the grub problem - The TestDisk utility recovered my Linux partitions and I have written them to disk but grub is still not loading.
My output from Fdisk -l in the mepix live cd is now -
Code:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x497f497e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2294 18426523+ 7 HPFS/NTFS
/dev/sda2 2295 8031 46082452+ 7 HPFS/NTFS
/dev/sda3 8032 38912 248051632+ f W95 Ext'd (LBA)
/dev/sda5 8032 20779 102398278+ 7 HPFS/NTFS
/dev/sda6 20780 20804 200781 83 Linux
/dev/sda7 20805 38912 145452478+ 8e Linux LVM
Disk /dev/sdf: 2056 MB, 2056257536 bytes
16 heads, 32 sectors/track, 7844 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Disk identifier: 0xc73d6767
Device Boot Start End Blocks Id System
/dev/sdf1 * 1 7845 2008304 e W95 FAT16 (LBA)
Disk /dev/dm-0: 26.2 GB, 26239565824 bytes
255 heads, 63 sectors/track, 3190 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 62.9 GB, 62914560000 bytes
255 heads, 63 sectors/track, 7648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x30307800
Disk /dev/dm-2 doesn't contain a valid partition table
I can access the grub folder from a terminal in mepix but I am not sure what I should do next..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.