I have done something to my grub data file which is causing my suse 8.2 system to continuously reboot. Therefore I am trying to get it corrected using the rescue system. I rebooted with the cd, selected 'rescue' , it booted fine, now I need to mount my existing file system. It is on hda5, so I did a 'mount /dev/hda5 -t reiserfs /' the response was a wrong file system. I ran 'fdisk /dev/hda' and found that it was a standard linux fs (type 83?). tried -t linux. answer is fs not supported. help. pssssssssssssst: grub does not allow password entry in graphics mode like lilo. what's so much better about grub? tia John Sowden American Sentry Systems. Inc. 1221 Andersen Drive San Rafael, CA 94901 U.L. Listed Central Station Alarm Service Serving the San Francisco Bay Area Since 1967 mail@americansentry.net http://www.americansentry.net
On Thursday 15 April 2004 00.50, John Sowden wrote:
I have done something to my grub data file which is causing my suse 8.2 system to continuously reboot. Therefore I am trying to get it corrected using the rescue system. I rebooted with the cd, selected 'rescue' , it booted fine, now I need to mount my existing file system. It is on hda5, so I did a 'mount /dev/hda5 -t reiserfs /' the response was a wrong file system. I ran 'fdisk /dev/hda' and found that it was a standard linux fs (type 83?). tried -t linux. answer is fs not supported.
type 83 is a partition type, not a file system type. The "standard linux" filesystem (whatever that means) is ext2. But you can probably get it mounted without using -t at all. But you can't mount it on /, since that is already in use. You want to create a temporary directory with something like mkdir tmproot and then mount /dev/hda5 tmproot Then you can cd tmproot and run "chroot ." and you're in your regular system
help.
pssssssssssssst: grub does not allow password entry in graphics mode like lilo. what's so much better about grub?
grub can read the filesystem, so you don't have to reinstall it every time you change something about the kernel or initrd the way you do with lilo. grub also gives you a shell you can work with and potentially solve boot problems without having to boot to a rescue disk. I can see it becoming as powerful as Sun's OpenBoot in future, even if it's not quite there yet
I just tried this. with no file type, I got a 'file system required' error. When I added -t ext2, I got the wrong fs error. I also tried -text2 with no difference. Thanks for the explanation re: grub. john On Wednesday 14 April 2004 14:22, Anders Johansson wrote:
On Thursday 15 April 2004 00.50, John Sowden wrote:
I have done something to my grub data file which is causing my suse 8.2 system to continuously reboot. Therefore I am trying to get it corrected using the rescue system. I rebooted with the cd, selected 'rescue' , it booted fine, now I need to mount my existing file system. It is on hda5, so I did a 'mount /dev/hda5 -t reiserfs /' the response was a wrong file system. I ran 'fdisk /dev/hda' and found that it was a standard linux fs (type 83?). tried -t linux. answer is fs not supported.
type 83 is a partition type, not a file system type. The "standard linux" filesystem (whatever that means) is ext2. But you can probably get it mounted without using -t at all. But you can't mount it on /, since that is already in use. You want to create a temporary directory with something like
mkdir tmproot
and then
mount /dev/hda5 tmproot
Then you can cd tmproot and run "chroot ." and you're in your regular system
help.
pssssssssssssst: grub does not allow password entry in graphics mode like lilo. what's so much better about grub?
grub can read the filesystem, so you don't have to reinstall it every time you change something about the kernel or initrd the way you do with lilo. grub also gives you a shell you can work with and potentially solve boot problems without having to boot to a rescue disk. I can see it becoming as powerful as Sun's OpenBoot in future, even if it's not quite there yet
-- John Sowden American Sentry Systems. Inc. 1221 Andersen Drive San Rafael, CA 94901 U.L. Listed Central Station Alarm Service Serving the San Francisco Bay Area Since 1967 mail@americansentry.net http://www.americansentry.net
On Thursday 15 April 2004 01.13, John Sowden wrote:
I just tried this. with no file type, I got a 'file system required' error. When I added -t ext2, I got the wrong fs error. I also tried -text2 with no difference.
Are you absolutely 100% certain that / is on hda5? Then try "fsck /dev/hda5" if it's ext2/3 or "reiserfsck /dev/hda5" if it's reiserfs
Thanks. well, first you were right, the / directory was on hda7, not 5. but I tried all three partitions first and they all failed. The I ran reiserfsck on 7, it found a corrupted thingy and said ok to run --fix-fixable, which (I did and it did). thanks for the help. John On Wednesday 14 April 2004 14:39, Anders Johansson wrote:
On Thursday 15 April 2004 01.13, John Sowden wrote:
I just tried this. with no file type, I got a 'file system required' error. When I added -t ext2, I got the wrong fs error. I also tried -text2 with no difference.
Are you absolutely 100% certain that / is on hda5?
Then try "fsck /dev/hda5" if it's ext2/3 or "reiserfsck /dev/hda5" if it's reiserfs
-- John Sowden American Sentry Systems. Inc. 1221 Andersen Drive San Rafael, CA 94901 U.L. Listed Central Station Alarm Service Serving the San Francisco Bay Area Since 1967 mail@americansentry.net http://www.americansentry.net
participants (2)
-
Anders Johansson
-
John Sowden