Easwar Hariharan wrote:


I tried the root (hd0,<Tab> command but it showed some strange output.....it
started counting partitions from zero as is well known,but it also showed
hda9(ie partition no 10) when I've a total of 2 primary and 1 extended
partitions.The extended partition contains 4 partitions for Ubuntu mounted
at /,/boot,/home and a swap partition.It also contains a Windows D:
partition which was formerly hda9.Presently,after nuking and remaking the
/boot partition,the /boot partition is hda9 and all other logical partitions
have moved up 1 position each in the partition table.

/boot is now your last created partition so hda9. However I am surprised to know that partitions can be deleted from the middle instead of the last to first order.


The "grub>find stage1" command doesn't work if you have a separate /boot
partition specially if you are on Live CD......you have to take a fdisk -l
and show the *blind* grub the way after mounting your /boot partition.......

Grub can find any file from unmounted partitions. For example the partition for a file1 in user1's desktop can be found using 'find /home/user1/Desktop/file1'



Easwar's problem turns out to be a corrupted /boot partition. I am
curious to know how he restored all his /boot files after deleting and
re-creating the partition. Is it as simple as backing up the files
somewhere else and pasting them back or getting them from some new source.

It *is* as simple as backing up the files to my /home partition and pasting
them back....... ;).What did you expect,I downloaded the kernel and init
again? :o


Hmm. What if /boot is very corrupted and you cannot even backup files?

Well here is an interesting link I found today. Very informative.

http://www.troubleshooters.com/linux/grub/grub.htm


--
Regards,

Rony.

Knock Knock
Who's There?
Linux
Who Linux?
GNU/Linux

--
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to