LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   booting redhat from colinux (https://www.linuxquestions.org/questions/linux-newbie-8/booting-redhat-from-colinux-335458/)

j0hn_galt 06-20-2005 12:16 PM

booting redhat from colinux
 
i first ran colinux with the debian root image . i was excited! this is a great way for beginners to start using linux cause you can slowly install everything yourself. fun!
since i already had redhat 9.0 on my system i wanted colinux to boot that. so after reading some stuff online i changed the following line in the default.colinux.xml file:

<block_device index="0" path="\DosDevices\C:\coLinux\Debian-3.0r0.ext3.1gb" enabled="true"/>

TO


<block_device index="0" path="\Device\Harddisk1\Partition3" alias="hdb3" enabled="true" />


and i just cant boot into it. i get the following error:

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):


any ideas?

dinolinux 06-20-2005 01:04 PM

Hi!

I helped someone else with the same type of problem just a few days ago here on LQ. I think your problem has nothing to do with your boot process, this error occurs when the usual file system check fails. The system dumped you to that shell presuming you would fix the error. To fix it type the root password then:
Code:

umount /dev/hdb3
and then:
Code:

fsck /dev/hdb3
You will get messages like this:
Code:

lost+found not found create? <y>
Answer the default which is written on the right (in this case y). If the check completes without problems, your system should be absolutely okay. If not come back here :)

j0hn_galt 06-21-2005 05:33 AM

hi dinolinux

thanks for replying!

i tried what you instructed. i still have not been able to boot redhat.

here are the results. please instruct me what should i do next.

(Repair filesystem) 1 # umount /dev/hdb3

umount: /dev/hdb3: not mounted

maybe the next instruction would help, so i tried that.

(Repair filesystem) 3 # fsck /dev/hdb3
fsck 1.32 (09-Nov-2002)
Couldn't find matching filesystem: LABEL=/


what does "/dev/hdb3 : not mounted " mean?

dinolinux 06-21-2005 01:37 PM

Hi!

It looks like your system is gone. It has somehow partly disappeared from your disk. You could try using a live CD and check that everything is where it should be and if you want you can copy your files to a ZIP or CD. My advice this time is: take a live CD and make sure your system is still on your disk.

Your question:
Quote:

what does "/dev/hdb3 : not mounted " mean?
All partitions under Linux is mounted when they are in use. When a partition is mounted, you can transfer files back and fourth. I asked you to unmount the partition because otherwise the filesystem check would not even start.

One more thing: On which partition is your system?

j0hn_galt 06-22-2005 10:13 PM

hi dinolinux

so, it turned out that my system was good. nothing is wrong but "hdb3" was wrong. i thought it was hdb3 since i used Explore2fs ( which is found here)

the program just pointed out "/" being on hdb3 which i used in the xml file.

so i tried booting into redhat, and there was no problem at all. on the command "df" it said "/" was on hdb6!

again booted back into windows, changed the xml file and reached the same point which caused me to post this thread. so i used your first advise
(Repair filesystem) 3 # umount /dev/hdb6
(Repair filesystem) 4 # fsck /dev/hdb6
fsck 1.32 (09-Nov-2002)
Couldn't find matching filesystem: LABEL=/


this means that hdb6 was unmounted right?

anyways since you asked which partition redhat was on, i had used the DISKPART utility in MSDOS.
it is on Disk 1 , Partition 3.


All times are GMT -5. The time now is 09:57 PM.