Jump to content

SuSE file system errors


longgone

Recommended Posts

I see what is wrong Dale . . . a space placed itself in my first command . . B) ( funny enough on my notes where I copy and pasted it from the space is not there :thumbsup: )We do it again:

# mkdir /media/hdb1# mount /dev/hdb1 /media/hdb1# cp -r /media/hdb1/boot  /boot/drake# ls -al /boot/drake

:( Bruno

Link to comment
Share on other sites

  • Replies 144
  • Created
  • Last Reply

Top Posters In This Topic

  • longgone

    69

  • Bruno

    63

  • teacher

    5

  • linuxdude32

    4

:( B) ... that is kinda sorta what I figured .... :thumbsup:
Password:linux:/home/dale # mkdir /media/hdb 1linux:/home/dale # mount /dev/hdb1 /media/hdb1mount: mount point /media/hdb1 does not existlinux:/home/dale # mkdir /media/hdb1linux:/home/dale # mount /dev/hdb1 /media/hdb1linux:/home/dale # cp -r /media/hdb1/boot /boot/drakelinux:/home/dale # ls -al /boot/draketotal 6192drwxr-xr-x 8 root root 4096 2005-01-19 12:12 .drwxr-xr-x 4 root root 4096 2005-01-19 12:12 ..-rw-r--r-- 1 root root 512 2005-01-19 12:12 boot.0300-rw-r--r-- 1 root root 512 2005-01-19 12:12 boot.030Alrwxrwxrwx 1 root root 17 2005-01-19 12:12 config -> config-2.6.3-7mdk-rw-r--r-- 1 root root 54087 2005-01-19 12:12 config-2.6.3-7mdk-rw-r--r-- 1 root root 54189 2005-01-19 12:12 config-2.6.3-7mdk-i686-up-4GBdrwxr-xr-x 3 root root 4096 2005-01-19 12:12 cooker-rw-r--r-- 1 root root 5032 2005-01-19 12:12 diag1.img-rw-r--r-- 1 root root 16796 2005-01-19 12:12 diag2.imgdrwxr-xr-x 2 root root 4096 2005-01-19 12:12 drake90drwxr-xr-x 2 root root 4096 2005-01-19 12:12 grub-rw-r--r-- 1 root root 108939 2005-01-19 12:12 initrd-2.6.3-7mdk-i686-up-4GB.img-rw-r--r-- 1 root root 135577 2005-01-19 12:12 initrd-2.6.3-7mdk.imglrwxrwxrwx 1 root root 33 2005-01-19 12:12 initrd-i686-up-4GB.img -> initrd-2.6.3-7mdk-i686-up-4GB.imglrwxrwxrwx 1 root root 21 2005-01-19 12:12 initrd.img -> initrd-2.6.3-7mdk.imglrwxrwxrwx 1 root root 25 2005-01-19 12:12 kernel.h -> /boot/kernel.h-2.6. 3-7mdk-rw-r--r-- 1 root root 537 2005-01-19 12:12 kernel.h-2.6.3-7mdk-rw-r--r-- 1 root root 537 2005-01-19 12:12 kernel.h-2.6.3-7mdk-i686-up-4GBdrwxr-xr-x 3 root root 4096 2005-01-19 12:12 knoppix-rw------- 1 root root 691200 2005-01-19 12:12 maplrwxrwxrwx 1 root root 15 2005-01-19 12:12 message -> message-graphic-rw-r--r-- 1 root root 442273 2005-01-19 12:12 message-graphic-rw-r--r-- 1 root root 116 2005-01-19 12:12 message-textdrwxr-xr-x 2 root root 4096 2005-01-19 12:12 slackdrwxr-xr-x 3 root root 4096 2005-01-19 12:12 suselrwxrwxrwx 1 root root 21 2005-01-19 12:12 System.map -> System.map-2.6.3- 7mdk-rw-r--r-- 1 root root 898908 2005-01-19 12:12 System.map-2.6.3-7mdk-rw-r--r-- 1 root root 900900 2005-01-19 12:12 System.map-2.6.3-7mdk-i686-up-4 GB-rw-r--r-- 1 root root 256 2005-01-19 12:12 us.kltlrwxrwxrwx 1 root root 18 2005-01-19 12:12 vmlinuz -> vmlinuz-2.6.3-7mdk-rw-r--r-- 1 root root 1440198 2005-01-19 12:12 vmlinuz-2.6.3-7mdk-rw-r--r-- 1 root root 1468886 2005-01-19 12:12 vmlinuz-2.6.3-7mdk-i686-up-4GBlrwxrwxrwx 1 root root 30 2005-01-19 12:12 vmlinuz-i686-up-4GB -> vmlinuz- 2.6.3-7mdk-i686-up-4GBlinux:/home/dale #all the cmds went as they should Y/N/M
Link to comment
Share on other sites

Looks good to me !!Now open your /etc/lilo.conf in gedit or whatever editor works for you and add:

image=/boot/drake/vmlinuz-2.6.3-7mdk        label="Mandrake10"        root=/dev/hdb1        initrd=/boot/drake/initrd-2.6.3-7mdk.img        append="devfs=mount acpi=ht splash=silent"        vga=788        read-onlyimage=/boot/drake/vmlinuz-2.6.3-7mdk-i686-up-4GB        label="Drake10-up4"        root=/dev/hdb1        initrd=/boot/drake/initrd-2.6.3-7mdk-i686-up-4GB.img        append="devfs=mount acpi=ht splash=silent"        vga=788        read-only
And after that show me:
# cat /etc/lilo.conf

:thumbsup: Bruno

Link to comment
Share on other sites

nope ... at least not from a consol window .. in the pop-up menu under the editors listing it has ... hex editor , Kvim , KXMLEditor , Kate and text editor listings , the one for text editor opens up a gedit window but I do not know if any entries I make there are going to be entered and accepted

Link to comment
Share on other sites

linux:/home/dale # kate /etc/lilo.confbash: kate: command not foundlinux:/home/dale #
this is the response I get ,, same as for gedit and kedit .. all using the consol window
Link to comment
Share on other sites

:thumbsup: :(
linux:/home/dale # find / -type f -name katefind: /media/cdrecorder: No medium foundfind: /media/dvd: No medium foundfind: /media/floppy: No medium found/opt/kde3/bin/katelinux:/home/dale #
is kate lost ???
Link to comment
Share on other sites

linux:/home/dale # /opt/kde3/bin/kate /etc/lilo.confCreating link /root/.kde/socket-linux.Created link from "/root/.kde/socket-linux" to "/tmp/ksocket-root"/usr/X11R6/bin/iceauth:  creating new authority file /root/.ICEauthorityCreating link /root/.kde/tmp-linux.Created link from "/root/.kde/tmp-linux" to "/tmp/kde-root"Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkded: cannot connect to X server :0.0DCOP aborting call from 'anonymous-6626' to 'kded'kded: ERROR: Communication problem with kded, it probably crashed.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkdeinit: Can't connect to the X Server.kdeinit: Might not terminate at end of session.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkate: cannot connect to X server :0.0DCOP aborting call from 'anonymous-6616' to 'kate'kate: ERROR: Communication problem with kate, it probably crashed.linux:/home/dale # Mutex destroy failure: Device or resource busylinux:/home/dale #
Uh Uh
Link to comment
Share on other sites

Do first as USER ( not as root !! )

xhost +localhost

After that as ROOT ( so "su" first )

set DISPLAY=localhost:0.0

And then try the kate command again . . ;):D Bruno

Link to comment
Share on other sites

exitdale@linux:~> xhost +localhostlocalhost being added to access control listdale@linux:~> suPassword:linux:/home/dale # set DISPLAY=localhost:0.0linux:/home/dale # kate /etc/lilo.confbash: kate: command not foundlinux:/home/dale #
Link to comment
Share on other sites

linux:/home/dale # /opt/kde3/bin/kate /etc/lilo.confXlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkded: cannot connect to X server :0.0kded: ERROR: KUniqueApplication: Registering failed!kded: ERROR: Communication problem with kded, it probably crashed.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkdeinit: Can't connect to the X Server.kdeinit: Might not terminate at end of session.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkate: cannot connect to X server :0.0DCOP aborting call from 'anonymous-6706' to 'kate'kate: ERROR: Communication problem with kate, it probably crashed.linux:/home/dale # Mutex destroy failure: Device or resource busy
you think maybe I should do a re-re-install of Suse and see if some of this mess goes away ?????
Link to comment
Share on other sites

Let us try it one more time:Do first as USER ( not as root !! )

xhost +localhost

After that as ROOT ( so "su" first )

set DISPLAY=localhost:0.0

 /opt/kde3/bin/kate  /etc/lilo.conf

:D Bruno

Link to comment
Share on other sites

localhost being added to access control listdale@linux:~> suPassword:linux:/home/dale # set DISPLAY=localhost:0.0linux:/home/dale # /opt/kde3/bin/kate /etc/lilo.confXlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkded: cannot connect to X server :0.0kded: ERROR: KUniqueApplication: Registering failed!kded: ERROR: Communication problem with kded, it probably crashed.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkdeinit: Can't connect to the X Server.kdeinit: Might not terminate at end of session.Xlib: connection to ":0.0" refused by serverXlib: No protocol specifiedkate: cannot connect to X server :0.0DCOP aborting call from 'anonymous-6802' to 'kate'kate: ERROR: Communication problem with kate, it probably crashed.linux:/home/dale # Mutex destroy failure: Device or resource busylinux:/home/dale #

Link to comment
Share on other sites

Hi DaleHere is what we will do:

# cp -r /media/hdb1/etc/lilo.conf  /home/dale/drake-lilo

( we back up Drake's lilo . . . Drake's /boot is already backed up )After that Re-Install Mandrake 10.0 !! :thumbsup:This is what I have in my notes about your hdb:

hdb1 ... 1.9   Drake10hdb5 ... 3.9   Drake10hdb6 ... 9.7   Drake10
After you reinstalled Mandrake and have it boot . . we will restore the original Lilo that included all the other entries we had before with 2 simple commands :DWhat we will do with SUSE we will decide later . . . I think the version you have is useless, but we need the backed up Drake files that are stored on it now . . . so be careful ;):D Bruno
Link to comment
Share on other sites

By useless I mean that that vesion is to limited to be of any good use . . . there is no GUI editor we can use . . . and at a system-filecheck it gets corrupted.This is the SUSE "Personal" . . . a kind a crippled version of SUSE and it is giving us nothing but trouble all the time.If you want a good altternative: PCLos !! . . It has all the browser-plugins ( and java ) set up by default . . so you can play chess ;)You can order the CD here: http://www.pclinuxonline.com/pclos/html/download.html ( see last line :D : http://on-disk.com/product_info.php/products_id/35 $3.99 )B) Bruno

Link to comment
Share on other sites

:D B) ...Now Bruno ... I have gathered that you are a great fan of PCLos ver x ,, BUT this version of SuSE i am using say right on it SuSE 9.1 Professional DVD rom ... but I be off to re-install Drake 10.0 ....
Link to comment
Share on other sites

:D You think he is pushing a different distro at you???? I think you have befuddled our favorite penguin and he forgot what you were using. B)
Link to comment
Share on other sites

We will discuss SUSE later . . . . :DFirst get your Drake back going . . . . . and tomorrow I will give you the commands to get the full-blown-multi-boot-lilo back up and running . . . so you can boot your Drake 9, Knoppix, Cooker, Slackware . . and SUSE again ;):D Bruno

Link to comment
Share on other sites

Hi DaleBecause I will be closing shop soon ( midnight :D ) I hereby already post the commands you have to give once you booted mandrake 10 successfully:( Again, please STOP as soon as a command gives an error )

# mkdir  /mnt/hda10# mount  /dev/hda10  /mnt/hda10# cp -r  /mnt/hda10/boot/drake/suse  /boot# cp -r  /mnt/hda10/boot/drake/cooker  /boot# cp -r  /mnt/hda10/boot/drake/slack  /boot# cp -r  /mnt/hda10/boot/drake/drake90  /boot# cp -r  /mnt/hda10/boot/drake/knoppix  /boot# cp -r  /mnt/hda10/home/dale/drake-lilo  /etc/lilo.conf# cat  /etc/lilo.conf

I will check the lilo.conf you post in the morning and then post the last command to write it to the MBR "/sbin/lilo -b /dev/hda"B) Bruno

Link to comment
Share on other sites

Have you tried going into a GUI, right clicking on the taskbar, then select Add and then adding your applicatiion. I believe KPPP would be a KDE button? Bruno should be back on in about 9 hours if you want to wait. :D Why not go ahead and run the commands he left you?

Link to comment
Share on other sites

[dale@access-4-free dale]$ suPassword:[root@access-4-free dale]# /mnt/hda10bash: /mnt/hda10: No such file or directory[root@access-4-free dale]# mkdir /mnt/hda10[root@access-4-free dale]# mount /dev/hda10 /mnt/hda10[root@access-4-free dale]# cp -r /mnt/hda10/boot/drake/suse /boot[root@access-4-free dale]# cp -r /mnt/hda10/boot/drake/cooker /boot[root@access-4-free dale]# cp -r /mnt/hda10/boot/drake/slack /boot[root@access-4-free dale]# cp -r /mnt/hda10/boot/drake/drake90 /boot[root@access-4-free dale]# cp -r /mnt/hda10/boot/drake/knoppix /boot[root@access-4-free dale]# cp -r /mnt/hda10/home/dale/drake-lilo /etc/lilo.confcp: overwrite `/etc/lilo.conf'? y[root@access-4-free dale]# cat /etc/lilo.conf# File generated by DrakX/drakboot# WARNING: do not forget to run lilo after modifying this fileboot=/dev/hdamap=/boot/mapdefault="SUSE"keytable=/boot/us.kltpromptnowarntimeout=100message=/boot/messagemenu-scheme=wb:bw:wb:bwimage=/boot/vmlinuz        label="Mandrake10"        root=/dev/hdb1        initrd=/boot/initrd.img        append="devfs=mount acpi=ht splash=silent"        vga=788        read-onlyimage=/boot/vmlinuz-i686-up-4GB        label="Drake10-4GB"        root=/dev/hdb1        initrd=/boot/initrd-i686-up-4GB.img        append="devfs=mount acpi=ht splash=silent"        read-onlyimage=/boot/vmlinuz        label="failsafe"        root=/dev/hdb1        initrd=/boot/initrd.img        append="failsafe acpi=ht devfs=nomount"        read-onlyimage=/boot/drake90/vmlinuz-2.4.19-16mdkenterprise        label="Mandrake90"        root=/dev/hda1        initrd=/boot/drake90/initrd-2.4.19-16mdkenterprise.img        append="devfs=mount acpi=bt splash=silent"        vga=788        read-onlyimage=/boot/knoppix/vmlinuz-2.4.27        label="Knoppix-24"        root=/dev/hda9        initrd=/boot/knoppix/initrd.img-2.4.27        vga=788        read-onlyimage=/boot/knoppix/vmlinuz-2.6.7        label="Knoppix-26"        root=/dev/hda9        initrd=/boot/knoppix/initrd.img-2.6.7        vga=788        read-onlyimage=/boot/slack/vmlinuz-ide-2.4.26        label="Slackware"        root=/dev/hda8        append="hdc=ide-scsi"        vga=791        read-onlyimage=/boot/suse/vmlinuz-2.6.5-7.111.19-default        label="SUSE"        root=/dev/hda10        initrd=/boot/suse/initrd-2.6.5-7.111.19-default        append="desktop splash=silent resume=/dev/hda5"        vga=0x317        read-onlyimage=/boot/cooker/vmlinuz-2.6.8-0.rc2.2mdk        label="Cooker"        root=/dev/hdb9        initrd=/boot/cooker/initrd-2.6.8-0.rc2.2mdk.img        append="devfs=mount acpi=ht resume=/dev/hda5 splash=silent"        vga=788        read-onlyother=/dev/hda3        label="windows"        table=/dev/hdaother=/dev/fd0        label="floppy"        unsafe[root@access-4-free dale]#
[
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...