Category: Computers

WD MyBook 3TB on Linux - partitioning problems -solved

· Computers

Bought a WD MyBook 3TB (USB 3.0) drive. Didn’t want to format correctly in Linux (I blew away the Windows VCD partition). Turns out, needs to be formatted with GPT instead of the ancient MS-DOS partition table. Once that was done, formatting in XFS using SuSE GUI and defaults from the command line also failed. Final solution: /sbin/mkfs.xfs -b size=4096 -d sectsize=4096 -l sectsize=4096 /dev/sdk1

VMware server antics: openSUSE 11.2 i.e. new kernels...

· Computers

Apparently it is hard to keep up with kernel developments. VMware has problems. Latest one does not work with openSUSE 11.2 kernel (and Ubuntu kernels, and other kernels). I guess that’s the difference between supporting enterprise versions (Ubuntu 8.04 LTS, SLES, RHEL) and not the newer (not to say leading edge) distributions (Ubuntu > 8.04, Fedora, openSUSE). Oh well… I ran into this again. Found a solution again… http://radu.cotescu.com/2010/01/19/how-to-install-vmware-server-ubuntu-fedora-opensuse/. Thanks, Radu./

Command line antics for VMware Server...

· Computers

something in my vmware server setup at home is malfunctioning - I cannot
reliably get to the web interface. There used to be a command line interface,
but they totally changed that between VM server 1.0 and 2.0….

… but it is there: so here, for my memory and your enlightenment, what I
succeeded in doing:

sudo vmware-vimsh -r -e “hostsvc/connect localhost 902; hostsvc/login; "

(you need to do this as root, since it uses an SSL key that is stored in a
root-only directory under /etc/vmware)

∼ Continue Reading ∼

Recovery notes... (how to save a misbehaving computer with RAID setup)

· Computers

Long story short:  I have a serious problem with my Dell Precision Workstation, which among other things has lead to 2 out of 3 disks being replaced. That will kill any RAID array unless you’ve set up RAID6 (which isn’t possible with 3 disks, I think). Before sending back the disks (zeroed out, of course), I managed to boot the workstation into a rescue mode (Ubuntu 9.04 without graphical interface - it doesn’t like my dual dual-DVI video cards, but that’s another story). The disks were presented as raw disks by the BIOS, partitioned equivalently, and then set up with a mixture of JBOD, RAID1 (root and /var), RAID0 (/tmp) and RAID5 (/home). /home is where the meat is. Thus, from rescue mode, I attached a 1TB USB drive (not in eSATA mode, since that was part of what was misbehaving), and copied over the entire raw disk:

∼ Continue Reading ∼

Installing openSUSE 11.1 on Lenovo X200T: Part 3 (bluetooth)

· Computers

This is actually (apparently) not specific to my install: but bluetooth in KDE 3.5 is broken (note the condition here: it works on the command line, but not in KDE 3.5). I guess KDE 3 is “officially” orphaned - at least that’s what some of the (very useless) comments in the openSUSE forums/bug database imply.

Anyway, the solution that worked for me is this one:

http://forums.opensuse.org/hardware/412702-bluetooth-suse-11-1-kde-3-5-a-4.html#post1979400

Just add the two bluez3 repositories, restart bluetooth, restart kbluetooth, and all of a sudden, I was up and running with bluetooth.

∼ Continue Reading ∼

Installing OpenSUSE 11.1 on Lenovo X200T , part 2

· Computers · 2 comments

  • Tablet works: on my tablet, the digitizer is not at /dev/ttyS0, but at /dev/ttyS4. Changing that in Sax2 or /etc/X11/xorg.conf works
  • The onscreen keyboard (xvkbd) does not seem to work. It reacts on the pen, but doesn’t do anything.
  • Rotation doesn’t work out of the box. XRandR will flip the screen, but not rotate it by 90 degrees.
  • The fingerprint reader was not detected by the setup program. I’ll have to port my mods from my X61 tablet.
  • Booting is not silent (i.e., no bootsplash). For one, this is because the mkinitrd does not recognize the non-standard (1280x800) layout. But even after fixing the script (the bootsplash gets put into the initrd), no splash. I’m guessing, that change is not enough. I’ll have to dig through…

Installing OpenSUSE 11.1 on Lenovo X200 Tablet

· Computers

  • Used network boot to get into the installer (no DVD with the X200, hit F12 at bootup)

  • Booted just fine, went fine until the partitioner kicked in

  • Allowed me to shrink the NTFS Vista partition, but…

  • … couldn’t work with the resulting partition

  • Rebooted several times, ended up deleting the new extended partition, rebooting, then creating all from scratch again. Not certain what went wrong there

  • Configured a default KDE 3.5 desktop, installation (from local repository) took about 20 minutes.

  • Rebooted, with the following result:

    • Screen set up at 60Hz/1280x800
    • Mouse works
    • Sound works, including hardware buttons
    • Brightness buttons work, but no OSD
    • Touchscreen does NOT work out of the box - but I chose automatic configuration, may be related.
    • Wireless works (although openSUSE still uses the braindead (KDE) network manager - the Ubuntu (Gnome) version is much more user friendly)

    I’ll post on further progress..

Local repository maintenance (openSUSE/Ubuntu)

· Computers

In Ubuntu:
cd /location/of/repo sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
then configure
/etc/apt/sources.list.d/local.list: deb file:/location/of/repo/ /
or
/etc/apt/sources.list.d/local.list: deb http://myserver/location/of/repo/ /

In openSUSE:
cd /location/of/rpm/repo createrepo .
and then
sudo zypper sa http://myserver/location/of/rpm/repo My_Local
In both cases, there are ways to crypto-sign the repositories, but probably optional if only accessible locally.