Jump to content

fopetesl

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by fopetesl

  1. SPE, along with a lot of other things, is in the Mandriva repos. Version 0.8.2.a_wx2.6.1.0-2mdv2008.1 is in contrib. I don't know if it's the latest or not but before installing an rpm file which is designed to run on an other distro (bad idea) try searching in the software installer.
    I already tried 0.8.2 but it fails because it needs python 2.4 :sad:

    What I have done is to download spe-0.8.4.h source because, in my newbiness with python/spe, I expected spe--.rpm to be an executable a la gcc.

    But it isn't, it's just a collection of python scripts in several directories :)

    All I need to do now is work out how to set either or both of the python paths, PYTHONPATH and its internal path(s).

     

    At least I've leant that you cannot or at least take a severe risk by extracting rpms meant for other distros. :huh:

  2. Running Mandriva 2008.1 on ACER Laptop.

    Have python 2.5.2 installed.

    Would like to have SPE running but get this message when I try to install:

    [root@localhost tmp]# /usr/share/mc/extfs/rpm run /home/peter/tmp/spe-0.8.4.h-0.2.fc8.noarch.rpm INSTALL
    Installing ""'/home/peter/tmp/spe-0.8.4.h-0.2.fc8.noarch.rpm'""
    error: Failed dependencies:
    python(abi) = 2.5 is needed by spe-0.8.4.h-0.2.fc8.noarch
    
    [root@localhost tmp]#

     

    I looked at this thread:

    http://www.linuxquestions.org/questi...ython%28abi%29

    and although the rpm is a Fedora 8 one, (& the thread), none of the suggestions seem to apply, (I can't find a Mandriva rpm).

     

    BTW, it works OK on my 'main' machine with Mandriva 2008.0

    Downgrading doesn't seem a reasonable option :speechless:

     

    What is python(abi)? :help:

     

    Edit:

    I came across this link:

    http://groups.google.com/group/comp.lang.p...da873451d01facc

    which suggests that it's equivalent to an API. My problem is where to find this :blink:

     

    I had thought to uninstall python 2.5.2 and install a slightly older version but there's no option to remove 2.5 in software manager :wall:

     

    Edit: If I run:

    rpm -q --provides python | grep -Fw 'python(abi)'

    I get nothing. The same query with just 'python' shows four matches. So I don't appear to have the ABI installed.

  3. To convert your FAT32 partitions to NTFS within windows, open a (windows) console, and

    CONVERT C: /FS:NTFS

    However, in most cases I wouldn't advise you to follow this solution, as you would likely end up with 512 bytes clustersize, which is very negative, performance-wise. More info here

    Unfortunately, all others that would allow you converting to the regular (4K) clustersize ain't free.

    Thanks for that. Nice tip.
  4. Try reinstalling grub:

    OK is fixed! :)

    My fault - typo in menu.lst.

    The screen was pulled slightly to the left when I edited menu.lst so I inadvertently altered

    root (hd0,1)
    to
    boot (hd0,0)

    :oops: DUH!!

     

    However, one question. I first followed your suggestion

    grub-install /dev/sda
    end-request: I/O error, dev fd0, sector 0
    end-request: I/O error, dev fd0, sector 0
    end-request: I/O error, dev fd0, sector 0
    end-request: I/O error, dev fd0, sector 0
    end-request: I/O error, dev fd0, sector 0
    end-request: I/O error, dev fd0, sector 0
    
    .. installation succeeded

    Why the trial accesses to the floppy? :huh:

     

    How did you discover rootnoverify was the answer to your problem?

    You have an NTFS partition?

     

    I only ask because I have it in mind to convert all my FAT32 partitions to NTFS and would like to be confident I'm not going to break something else if I do :puter:

     

    Oh and a vote of thanks for your input guys :thumbs:

  5. Well, it's getting there but not yet :(

    Installed x86_64 with no hitches and booted into Mandriva several times OK.

     

    However, when I try to boot into Windows XP I get the following message:

    Error 8: Kernel must be loaded before booting

     

    Looked at Grub help and it says pretty much the same thing but not why

     

    Any tips here to dig it out?

     

    BTW, I got i586 version to boot into Windows OK by editing

    root (hd0,1)
    makeactive
    chainloader +1

    to

    root (hd0,0)
    makeactive
    chainloader +1

    Didn't work this time :wall:

  6. Thanks scarecrow for your patience :)

    Since I have a mirror copy of my HDD I went a little further and installed Mandriva v 2008 Spring.

    (Mandiva 2007 would never correctly recognise my Attansic 10/100/1000 Ethernet card)

     

    Went without a hitch until I tried to load XP and got the usual "NTLDR Missing".

    Fixed that to get here now I need to check Mandriva still boots OK.

     

    Then it's on to downloading the x86_64 version :thumbs:

  7. I think we are going to need some more information about this statement, partitcularly the login prompt that 'will not accept anything'. If you really have a login prompt then it should accept your username and password, if that isn't happening then what is? When you get to this unhelpful login prompt have you tried pressing CTL/ALT/F1 (or F2 etc) to open another login window?

     

    What information do you have on the fault on /dev/sda5? Anything? Nothing?

     

    From my own experience I have found that every time I mess around with partitions it always helps to reinstall grub afterwards. This might sound difficult, but it really isn't. There is nobody in the world more command line phobic than me and I can do it easily.

     

    Of course that brings me back to my original question. If your login prompt really will not accept anything then you will not be able to easily alter grub, but we really need a bit more information.

    Like I said the login prompt won't accept anything, root, user name, nada. And no alternative terminals either.

     

    The error on /dev/sda5 goes through too fast for me to get but it's along the lines of bad block - (it's an age thing :cry: )

     

    I could alter grub, well menu.lst if that's what you mean coming in from XP. However I don't think that's what you actually mean since menu.lst seems to indicate the correct partitions?

     

    I'm not at all sure there's any more information I can give you since I have no access to the system logs.

     

    Maybe I should just reload from start since my HOME partition is still there?

     

    Oh and why is XP on FAT32? When I loaded XP some time ago (mirror copied from a PATA drive) LINUX wasn't too happy about seeing NTFS partitions. I just haven't got around to converting it yet.

  8. As a Newb, last year I installed Mandriva 2007. OK O/S quite like it. Multi boot with XP.

    I ran out of Windoze disk space, (it's a 250GB SATA), so reduced the size of the ROOT partition and created a new Windoze drive G:

     

    Now Mandriva won't boot, comes up with a fault on /dev/sda5 (the new NTFS partition), then throws me into a login prompt which will not accept anything.

     

    What puzzles me is that Grub's menu still points to the correct partitions(?)

     

    Disk partitions:

    Disk /dev/sda: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x25a5ad84
    
      Device Boot	  Start		 End	  Blocks   Id  System
    /dev/sda1   *		   1		 728	 5847628+   b  W95 FAT32
    /dev/sda2			 729		5372	37302930	c  W95 FAT32 (LBA)
    /dev/sda3			5374	   30401   201037410	5  Extended
    /dev/sda4			7260	   11017	30186131+  83  Linux
    /dev/sda5			5374		8283	23374543+   7  HPFS/NTFS
    /dev/sda6			8284		8573	 2329393+  82  Linux swap / Solaris
    /dev/sda7		   11018	   24072   104864256   83  Linux
    /dev/sda8		   24073	   30401	50837661	7  HPFS/NTFS
    linux:/home/linux #

     

    sda4 is ROOT

    sda7 is HOME

     

    Grub menu.lst:

    timeout 1800
    color black/cyan yellow/cyan
    default 0
    
    title linux
    kernel (hd0,3)/boot/vmlinuz root=/dev/sda4  resume=/dev/sda6
    initrd (hd0,3)/boot/initrd-ml2007-SATApatch.img
    
    title failsafe
    kernel (hd0,3)/boot/vmlinuz root=/dev/sda4  failsafe resume=/dev/sda6
    initrd (hd0,3)/boot/initrd-ml2007-SATApatch.img
    
    title windows
    root (hd0,0)
    makeactive
    chainloader +1
    
    title windows1
    root (hd0,1)
    makeactive
    chainloader +1

    I tried the repair from the x86_64 install CD(1) but it throws a wobbly saying it can't find ROOT partition.

    How to dig out the problem?

     

     

    [moved from Software by spinynorman]

  9. You mounted it to the wrong place that's why it's not worked!

     

    You have / mounted to /mnt/mdv2007, so you should have mounted /dev/sda7 to /mnt/mdv2007/boot. From what you show above, you've mounted it somewhere else completely.

    Yeah. I fixed that and and as you state it mounted OK. Then the (new) kernel wouldn't install :wall:
  10. Two steps forward, one back.

    I downloaded and put a kernel 2.6.20 rpm in /dev/sda4/tmp.

    When I run urpmi on it and bypass check warnings the 'build' stops because it cannot find a valid boot file/directory.

     

    My /grub directory is in its own /boot partition: /dev/sda7

     

    So I did this

    sh-3.1# mkdir /mnt/mdv2007
    sh-3.1# mount /dev/sda4 /mnt/mdv2007
    sh-3.1# mount -t proc none /mnt/mdv2007/proc
    sh-3.1# mount -o bind /dev /mnt/mdv2007/dev
    sh-3.1# mkdir /mnt/mdv2007boot
    sh-3.1# mount /dev/sda7 /mnt/mdv2007boot
    sh-3.1# mount -o bind /boot /mnt/mdv2007boot
    mount: Mounting /boot on /mnt/mdv2007boot failed: No such file or directory
    sh-3.1#

    Well, of course it failed finding /mnt/mdv2007boot, the only directories in partition /boot are grub, etc.

    So I have misunderstood mount -o bind :blush:

     

    So how do I tell urpmi that my /boot directory is actually /mnt/mdv2007boot?

  11. Have a look at your /etc/resolv.conf before you chroot and after. Make sure they are identical.
    /etc/reslov.conf after chroot-ing looked like this
    search home
    
    nameserver 192.168.1.1

    So I took out the 1st three lines so it was identical to pre-chroot.

    Same response. So I tried this

    bash-3.1# /usr/bin/host 198.182.196.28
    48.196.182.198.in-addr.arpa domain name pointer linux.org
    bash-3.1# urpmi kernel-linus-latest
    <14>Jan 31 14:54:47 urpmi: called with: kernel-linus-latest
    no package named kernel-linus-latest
    bash-3.1#

    :huh:

     

    I looked up "kernel-linus-latest" and there is a Mandriva Cooker 2.6.20 in

    ftp://fr2.rpmfind.net/linux/MandrakeCooke...2007.1.i586.rpm

    but not one in linux.org (tho' there is in mirror.linux.org.mt).

    Is it my "host" designation at fault or the Message parser error?

  12. So this morning after some head banging I have this 1st result: neither of the two distros with 2.6.19 recognise that I have a LAN adapter on board. I plugged in a bog standard PCI NIC and can now set up an internet connection so:

    mkdir /mnt/mdv2007
    mount /dev/sda4 /mnt/mdv2007
    mount -t proc none /mnt/mdv2007/proc
    mount -o bind /dev /mnt/mdv2007/dev
    chroot /mnt/mdv2007 /bin/bash
    source /etc/profile

    So far so good :D FC6 rescue mode has already initialised eth0 via DHCP from my router, viz

    route -n
    Destination   Gateway	  Genmask	 Flags Metric Ref Use Iface
    192.168.1.0	0.0.0.0   255.255.255.0  U	  0	 0   0 eth0
     0.0.0.0	192.168.1.1	0.0.0.0	 UG	 0	 0   0 eth0

    then I attempt to set up a host

    /usr/bin/host linux.org
    linux.org has address 198.182.196.8
    ;; Warning: Message parser reports malformed message packet
    ;; connection timed out; no servers could be reached

    Final hurdle to overcome :puter:

     

    (I also may have to work out why Mandy 2007 did see the on-board LAN ( and XP) but FC6 and SIDUX cannot :huh2: )

  13. Thanks ianw1974. Now we're getting somewhere :D but not all works as hoped. I get through to chroot and source OK (note later) but but hit a stumbling block. When I

    /sbin/ifup eth0
    forcedeth device eth0 does not seem to be present, delaying initialization

    and

    /sbin/ifconfig
    Warning cannot open /proc/net/dev (No such file or directory).  Limited output

    What's odd is that /proc exists but not subdir dev.

    eth0 certainly used to work before the catastrophe. :huh2:

     

    So it seems the only problem now is initialising eth0. Any suggestions here?

     

    FYI .. Note about "source /etc/profile" : I preempted you and had already downloaded SIDUX CHAOS since it runs a later kernel. On this platform I get a response " bash: TMOUT: readonly variable"

     

    Also I went to http://fs-driver.org and installed it on the XP partition. Really neat piece of software - I can read all my Mandrake partitions. Haven't tried copying yet . . . . ;)

  14. Last week my mobo combo failed on boot up :end: (no BIOS, no Beeps) so I replaced mobo,processor & memory.

    Old system: ASUS A8N_SLi Deluxe, Athlon 3500+, 2GB GEIL DDR(1)

    New system: ASUS M2V, Atlon 3800+, 1GB Kingston DDR2

     

    Both systems with Radeon PCI Express X300, 250GB SATA.

     

    Dual boot with XP and Mandriva 2007.

     

    XP booted OK and after installing (new) drivers works fine, (that's how I can write this).

     

    Mandriva will not load in any mode - the ouput from 'failsafe'

    Loading sd_mod.ko module
    Loading jbd.ko module
    Loading ext3.ko module
    Mounting /proc filesystem
    Mounting sysfs
    Creating device files
    Mounting tempfs on /dev
    Creating root device
    Trying to resume from /dev/sda6
    Unable to access resume device (/dev/sda6)
    echo: cannot open /proc/suspend2/do-resume for write: 2
    Mounting root filesystem /dev/root
    mount: error 6 mounting ext3 flags default
    well, retrying without option flags
    mount: error 6 mounting ext3
    well, retrying without any flag
    mount: error 6 mounting ext3
    Switching to new root
    ERROR opening /dev/console!!!!: 2
    unmounting old /proc
    unmounting old /sys
    Switchroot: mount failed: 22
    Initrd finished
    kernel panic - not syncing: Attempted to kill init!

    Then the system freezes.

     

    I ran 'rescue' from the install DVD which is no help except

    # lsparts //.. returns nothing

    # fdisk -l //.. returns nothing

    # fdisk -l /dev/sda //.. returns nothing

    #lsparts //.. returns nothing

     

    If I try to mount all detected hardware:

    sata_via IVT8273A installs OK

    IDE/USB IVT82C586 fails with "Can't find via82Cxxx in archive"

     

    If I try to mount I get "/mnt can't find root device".

     

    I ran a partiton manager (from DOS?) and it sees all my partitions.

     

    Where to now? :help:

     

    ======= Added 30 January, 2007 ==========

     

    It looks like we are in the dark here :unsure: - It seems I have a hardware issue.

    I tried to run the 'patch' option from the DVD and it threw up "Found VIA VT8237A SATA 2 controller" with the query "Any other hardware?".

    If I select "No"I get the response

    An error occurred -
    An error occurred - no valid devices were found on which to create new filesystems. Please check your hardware for the cause of this problem.

    I noted that on the M2V mobo there is also a JMicron JMB363 SATA/PATA controller which I had previously discounted as a problem since I can read the DVD OK. If I select "Yes" to the above the JMB363 is not an option.

    However it appears this could be a problem since:

    a ) it is not clear just which SATA ports it accesses

    -and-

    b ) is not supported on kernel 2.6.17-x (it seems, however, that it is on 2.6.18 )

     

    SO. How do I patch the kernel on a drive I cannot access.

     

    How can I upgrade Mandriva 2007 with another Distro without trashing my programs and/or data, (/home is a separate partition, TG).

     

    Does the name Yossarian mean anything here? :(

  15. That didn't work, seems I should actually be amending /etc/iftab.

     

    However it turns out the 'upgrade' totally screwed up PHP, MySql and didn't 'upgrade' Apache, in fact removed it altogether. Luckily I had a witness that all these progs were enabled for 'upgrade'.

     

    Sigh :wall: so it's back to Ubuntu

  16. I upgraded MDK10.0 to Mandriva 2006. Most things still work as before.

    However in the process eth0 & eth1 got swapped around.

     

    I need to swap back because of physical arrangements 'cos the Mini-ITX board has only one PCI slot taken up by a Belkin NIC which, when built into a case, is the only one available, i.e. the built-in RJ45 connector not accessible. My code is written to only access eth0 and I do not want hours of hacking to suit eth1.

     

    With MDK10.0 I could 'force' the Belkin to be eth0 by simply disabling the on-board NIC. Now that doesn't work I always end up with the Belkin as eth1 even when the on-board NIC is disabled.

     

    On other OSs there is an /etc/network/interfaces + etc/resolve.conf where ethx are defined. How to do here :help:

  17. MDK 9.2 running xterm in F7 console on LCD touch screen.

     

    screen blanks after 10 minutes.

     

    .xinitrc

    /usr/bin/mozilla -P almeter /var/www/html/gui.swf &

    /usr/X11R6/bin/xterm

    /usr/X11R6/bin/xterm s off

     

    Have checked for X11:

    /etc/X11/XF86Config-4

    and the options: StandbyTime, SuspendTime, OffTime and DPMS.

    None are apparent.

     

    APM is not enabled in kernel.

    BIOS power management disabled.

    There is no window manager.

     

    Have also tried:

    setterm -blank 0

     

    I have also tried delays in .xinitrc in case another console is

    resetting blanking after mozilla (& X-Window) have loaded.

     

    However, if I kill mozilla and type..

     

    ]# xset s off

    ]# /usr/bin/mozilla -P almeter /var/www/html/gui.swf

     

    .. screen blanking is disabled.

     

    Do I have an X-Win or a Mozilla problem?

×
×
  • Create New...