Re: [gentoo-user] (URGENT) Installing CD Burner question
Hi Paul and others, HELP My OS crashed while playing around to install the burner. Last modification made /etc/devfsd.conf umcomment following line Create /dev/cdrw for the first cdrom on the scsi bus (remark : /dev/scsi found) Rebooted PC Following warning popup; Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the super block is corrupted and your need to run --rebuild-sb, Logined as root # e2fsck --rebuild-sb e2sfck: invalid option -- - I was not allowed to edit /etc/devfsd.conf even login as ROOT Kindly help. I am now posting from another PC (remark: root- reiserfs ) B.R. Stephen Paul Kimberley wrote: Did you modify your lilo or grub configuration? What happens is the IDE controller grabs the CD-R device and then the ide-scsi mod can't access it. You need to add the 'hdX=scsi' (where X is the device letter) argument at boot. i.e my grub.conf reads kernel=(hd1,0)/bzImage root=/dev/hdd hdc=ide-scsi This tells the IDE controller not to touch hdc, which leaves it for the ide-scsi mod to configure it. -Paul Hi all folks, Just added a IDE CD burner as slave As root # echo -e ide-scsi\nsg\nsr_mod /etc/modules.autoload.d/kernel-2.4 # depmod -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
It is rumored that on Mon, 27 Oct 2003 22:50:25 +0800 Stephen Liu [EMAIL PROTECTED] wrote: Hi Paul and others, HELP My OS crashed while playing around to install the burner. Last modification made /etc/devfsd.conf umcomment following line Create /dev/cdrw for the first cdrom on the scsi bus (remark : /dev/scsi found) Rebooted PC Following warning popup; Failed to open the filesystem. If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the super block is corrupted and your need to run --rebuild-sb, Logined as root # e2fsck --rebuild-sb e2sfck: invalid option -- - --snip-- If the file system is reiser, try reiserfsck --rebuild-sb HTH -- [EMAIL PROTECTED] Computers are useless. They can only give you answers. Pablo Picasso (1881-1973) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Hi Paul, My Gentoo crashed. Please see my previous posting. Now I am answering your post from another PC Paul Kimberley wrote: Did you modify your lilo or grub configuration? NO What happens is the IDE controller grabs the CD-R device and then the ide-scsi mod can't access it. You need to add the 'hdX=scsi' (where X is the device letter) argument at boot. i.e my grub.conf reads kernel=(hd1,0)/bzImage root=/dev/hdd hdc=ide-scsi This tells the IDE controller not to touch hdc, which leaves it for the ide-scsi mod to configure it. Noted. I will proceed after having the OS fixed. Now I can't even shudown Gentoo [root@(none) boot]# shutdown -h now init: timeout opening/writing control channel /dev/initctl Nor can I locate grub.conf [root@(none) boot]# locate grub.conf /usr/share/doc/grub-0.93.20030118/grub/conf/sample.gz B.R. Stephen Hi all folks, Just added a IDE CD burner as slave As root # echo -e ide-scsi\nsg\nsr_mod /etc/modules.autoload.d/kernel-2.4 # depmod -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Le Lundi 27 Octobre 2003 15:50, Stephen Liu a écrit : If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the super block is corrupted and your need to run --rebuild-sb, Logined as root # e2fsck --rebuild-sb e2sfck: invalid option -- - I was not allowed to edit /etc/devfsd.conf even login as ROOT Don't use e2fsck to rebuild a reiserfs partition! If you can't etdit your file, it must be because your / has been mounted ro for maintenance. remount it rw to edit it. mount -o remount,rw / It seems you can read your partition, so your datas seem to be still there. In this case don't try something dangerous like fdisk or reiserfsck --rebuild-tree like it could be suggested by the boot filesystem check. first undo your changes in /etc/devfsd,conf and try to boot again. if you can't remount /, try to boot on the liveCD, mount your partition and edit it. which partitions are mounted? -- mathieu -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Hi mathieu, mathieu wrote: Le Lundi 27 Octobre 2003 15:50, Stephen Liu a écrit : If the partition table has not been changed, and the partition is valid and it really contains a reiserfs partition, then the super block is corrupted and your need to run --rebuild-sb, Logined as root # e2fsck --rebuild-sb e2sfck: invalid option -- - I was not allowed to edit /etc/devfsd.conf even login as ROOT Don't use e2fsck to rebuild a reiserfs partition! If you can't etdit your file, it must be because your / has been mounted ro for maintenance. remount it rw to edit it. mount -o remount,rw / It seems you can read your partition, so your datas seem to be still there. In this case don't try something dangerous like fdisk or reiserfsck --rebuild-tree like it could be suggested by the boot filesystem check. first undo your changes in /etc/devfsd,conf and try to boot again. if you can't remount /, try to boot on the liveCD, mount your partition and edit it. which partitions are mounted? I did not mount. After being asked to enter password to do maintenance, I entered password and proceeded to edit /etc/devfsd.conf I tried cd /boot but could not found /grub/grub.conf there, only an empty folder Now I am not allowed to reboot nor shutdown with following warning popup [root@(none) /]# reboot init: timeout opening/writing control channel /dev/initctl [rootr@(none) /]# shutdown -h now init: timeout opening/writing control channel /dev/initctl Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Robert Kruus wrote: - snip - Logined as root # e2fsck --rebuild-sb e2sfck: invalid option -- - --snip-- If the file system is reiser, try reiserfsck --rebuild-sb [root@(none) /]# reiserfsck --rebuild-sb /dev/hde3 super.c 309 rebuild_sb rebuils_sb: cannot open device /dev/hde3 B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Le Lundi 27 Octobre 2003 16:45, Stephen Liu a écrit : I did not mount. After being asked to enter password to do maintenance, I entered password and proceeded to edit /etc/devfsd.conf as I tell in last post, in maintenance mode, / is mounted ro, mount it rw: mount -o remount,rw / I tried cd /boot but could not found /grub/grub.conf there, only an empty folder /boot is not mounted, so it's empty. nothing wrong. Now I am not allowed to reboot nor shutdown with following warning popup [root@(none) /]# reboot init: timeout opening/writing control channel /dev/initctl [rootr@(none) /]# shutdown -h now init: timeout opening/writing control channel /dev/initctl also normal. with only / mounted and ro, you can safely reboot with the reset switch. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
mathieu wrote: Le Lundi 27 Octobre 2003 16:45, Stephen Liu a écrit : I did not mount. After being asked to enter password to do maintenance, I entered password and proceeded to edit /etc/devfsd.conf as I tell in last post, in maintenance mode, / is mounted ro, mount it rw: mount -o remount,rw / Yes I did. /etc/devfsd.conf has been edited and saved. But [root@(none) /]# reboot init: timeout opening/writing control channel /dev/initctl Unless force reboot B.R. Stephen I tried cd /boot but could not found /grub/grub.conf there, only an empty folder /boot is not mounted, so it's empty. nothing wrong. Now I am not allowed to reboot nor shutdown with following warning popup [root@(none) /]# reboot init: timeout opening/writing control channel /dev/initctl [rootr@(none) /]# shutdown -h now init: timeout opening/writing control channel /dev/initctl also normal. with only / mounted and ro, you can safely reboot with the reset switch. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
At 10:55 AM 10/27/2003, you wrote: If the file system is reiser, try reiserfsck --rebuild-sb [root@(none) /]# reiserfsck --rebuild-sb /dev/hde3 super.c 309 rebuild_sb rebuils_sb: cannot open device /dev/hde3 Are you sure that hde3 is the right device ?? How many hard drives do you have in this machine ?? That would be master HD on a tertiary controller (probably an add-in controllor card). Regards Hall -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Noted. I will proceed after having the OS fixed. HELP My OS crashed while playing around to install the burner. Last modification made /etc/devfsd.conf umcomment following line Create /dev/cdrw for the first cdrom on the scsi bus (remark : /dev/scsi found) type `sync;halt' and then hit reset It looks like you messed up your devfs, Hopefully your single usermode is still working. if you couldn't find your grub.conf, that means your probably using lilo! So assuming that this might work -- To get into single user mode - When you boot your computer you should see the lilo prompt and then after a preset time your computer should boot linux(if no prompt hold shift while booting). when you see the lilo: prompt hit tab it will give you a list of OS's to boot. usually Linux is called 'linux' then type 'linux 1' this tells lilo to boot linux in init level 1, which is single user mode. 3 is multi user, and 5 is usually XDM Once your in, try to undo your changes. If that doesn't work use the gentoo basic CD to boot into rescue mode. then at a prompt mount your root fs into a new directory then do the changes. i.e mkdir /mnt/linux mount -t (ext2/3/reiserfs) /dev/hda1 /mnt/linux vi /mnt/linux/etc/devfs.conf let me know if this helps. Now I can't even shudown Gentoo [root@(none) boot]# shutdown -h now init: timeout opening/writing control channel /dev/initctl Nor can I locate grub.conf [root@(none) boot]# locate grub.conf /usr/share/doc/grub-0.93.20030118/grub/conf/sample.gz -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
mathieu wrote: Le Lundi 27 Octobre 2003 16:45, Stephen Liu a écrit : I did not mount. After being asked to enter password to do maintenance, I entered password and proceeded to edit /etc/devfsd.conf as I tell in last post, in maintenance mode, / is mounted ro, mount it rw: mount -o remount,rw / I tried cd /boot but could not found /grub/grub.conf there, only an empty folder /boot is not mounted, so it's empty. nothing wrong. Now I am not allowed to reboot nor shutdown with following warning popup [root@(none) /]# reboot init: timeout opening/writing control channel /dev/initctl [rootr@(none) /]# shutdown -h now init: timeout opening/writing control channel /dev/initctl also normal. with only / mounted and ro, you can safely reboot with the reset switch. Further to my previous posts I made a force-reboot by pressing reset switch as advised. OS now revives. Lot of thanks B.R. Stephen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Second thought /boot doesn't get mounted automatically so you might find the grub.conf . So you might be using grub. Easy way to tell is grub is usually graphical which lilo is text based. If you are using grub highlight the OS, then hit 'e' as in edit then select the line beginning with kernel= hit 'e' as in edit again. Add a one '1' to the end of the line. then hit 'b' as in boot, to boot the changes -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
Le Lundi 27 Octobre 2003 17:22, Stephen Liu a écrit : I made a force-reboot by pressing reset switch as advised. OS now revives. hope you did remount / read-only before hard-rebooting. mount -o remount,ro / anyway, that wouldn't be much of a problem with reiserfs. -- mathieu perrenoud -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] (URGENT) Installing CD Burner question
mathieu wrote: Le Lundi 27 Octobre 2003 17:22, Stephen Liu a écrit : I made a force-reboot by pressing reset switch as advised. OS now revives. hope you did remount / read-only before hard-rebooting. mount -o remount,ro / anyway, that wouldn't be much of a problem with reiserfs. Yes, I did. I also made twice 'shutdown' and 'boot' to test the OS working properly. The warning 'partition problem' gave me a shock. B.R. Stephen -- [EMAIL PROTECTED] mailing list