PDA

View Full Version : moving knoppix to different partition



cv65user
01-10-2009, 10:29 PM
i installed knoppix onto a computer with 7 partitions on the 6th partition. when i made sure everything was all good. i cloned just the knoppix partition it to an image file and then cloned this iamge file onto the 4th partition on my laptop .

i did not want to reinstall knoppix on my laptop to risk messing up my existing boot loader as i currently have xp , mac osx, vista , knoppix , opensuse , swap partition and a data partition installed all quad bootable via grub4dos.

i can edit grub (by way of root (hd0,4), kernel xxx , init xxx ) and point it to the cloned partition and knoppix will boot . i can see it boot the hard disk , and a scsi disk although i dont have one and it seems an existing config file is still pointing to the old partition number still hence it stops there on an error and exits to a basic tty shell

does anyone know whwats this config file i still need to edit ; i can still boot into opensuse v11 mount and edit the knoppix extfraiser file system . so i kind of know basic commands

cv65user
01-11-2009, 11:48 AM
after further reading i have edited my fstab file it seems to boot further but still get same problem , the howto on here shows to edit ftab nut i cant see where to edit by device id rather then label or something like that

hal8000
01-11-2009, 09:15 PM
i installed knoppix onto a computer with 7 partitions on the 6th partition. when i made sure everything was all good. i cloned just the knoppix partition it to an image file and then cloned this iamge file onto the 4th partition on my laptop .

i did not want to reinstall knoppix on my laptop to risk messing up my existing boot loader as i currently have xp , mac osx, vista , knoppix , opensuse , swap partition and a data partition installed all quad bootable via grub4dos.

i can edit grub (by way of root (hd0,4), kernel xxx , init xxx ) and point it to the cloned partition and knoppix will boot . i can see it boot the hard disk , and a scsi disk although i dont have one and it seems an existing config file is still pointing to the old partition number still hence it stops there on an error and exits to a basic tty shell

does anyone know whwats this config file i still need to edit ; i can still boot into opensuse v11 mount and edit the knoppix extfraiser file system . so i kind of know basic commands


If you think about what you have done :-
You have cloned hda6 to hda4 (a primary partition, are you sure?)
XP, Vista Mac OSX all must have primary partition and as you have 7 partitions, then one of your primary partitions will be an extended partition for your logical drives.

You need to post the output of
fdisk -l

from one of your linux partitions.

In any case when you cloned say hda6 to hda4 (which also must be a single /partition containing /home)
hda6 contained an fstab. The filesystem table entries would have pointed to mount / as hda6 (or whatever partition it was)

Now when you move it to hda4 you alter grub to boot the new system, but when it boots the fstab still has / set to the old partition.
You must manually mount the moved knoppix filesystem from another linux system and edit its fstab so it points to the correct partition

cv65user
01-12-2009, 09:07 AM
thx for the replies to my other post. yes after searching google , i realised its something to do with my fstab files. even though i logged into bootable opensuse and mounted the knoppix partition (as i recognised the menu.lst matches the boot loader menu) , the command i used was "mount /dev/sda5 /mnt/sda5 " . as when i press tab it shows there is only one reiserFS file system so obviously this must be my knoppix partition = sda5.

however when i pretend to partition my drive with YAST in opensuse to show my partition table it shows it as sda6 as it counts the logical drive table as one partition - this is where i got confused. so by filtering out , i edited menu.lst changing each partition number in my grub loader until it started booting knoppix half way which was

root (hd0,5)
kernel xxx
init xxx
boot



sorry the the very long reply by the way

pls see disk 1 of the screen shot of my partition table layout in win xp . ignore disk 0 as that was a test d isk .

http://img374.imageshack.us/img374/438/newbitmapimageix1.jpg

so correct me if i am wrong

sda0 the actual hdd
sda1 xp
sda2 osx
sda3 the green extended table
sda4 the data partition
sda5 now starts couting the logical drives , so would be vista
sda6 knoppix
sda7 opensuse
sda8 linxu swap

problem is also its an aspire one a150l with 160gb sata hdd. but how comes in grub i refer to it as hdax? not sdax? so thats why i am probaly confused what to edit my fstab to - i read on other thread its better to edit my device id rather then label or something ?

cv65user
01-12-2009, 09:09 AM
ran fdisk -l from opensuse

Disk /dev/sda: 160.0 GB,
160041885696 bytes
255 heads,
63 sectors/track,
19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd91ac89e


Device Boot Start End Blocks Id System

/dev/sda1 1 2550 20482843+ 7 HPFS/NTFS - primary ,xp
/dev/sda2 2551 3825 10241437+ af Unknown - primary, leapord
/dev/sda3 3826 5610 14338012+ f W95 Ext'd (LBA) - extended drive
/dev/sda4 * 5611 19457 111226027+ 7 HPFS/NTFS - primary , data/doc drive
/dev/sda5 3826 4462 5116671 7 HPFS/NTFS - logical ,vista
/dev/sda6 4463 4972 4096543+ 7 HPFS/NTFS - logical, knoppix
/dev/sda7 4973 5482 4096543+ 83 Linux - logical , open suse v11
/dev/sda8 5483 5610 1028128+ 82 Linux swap / Solaris - logical , linux swap

whast the * mean by the way , means current active partiion , IIRC it was on sda1 before ? :S

cv65user
01-12-2009, 10:37 AM
knoppix fstab file

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / reiserfs defaults 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /media/hda1 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda2 /media/hda2 auto noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda4 /media/hda4 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /media/hda5 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda6 /media/hda6 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda8 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdc /media/hdc auto ro,noauto,users,exec 0 0


fstab opensuse

/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part8 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part7 / ext3 defaults 1 1
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part4 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part5 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part6 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

cv65user
01-12-2009, 03:16 PM
i have updated my fstab to all sda6 but it gets to

loading usb hid core driver,
done ,
check root bootarg cat/ proc/cmdline or missing modfules , devices cat /pproc/modeules ls / dev
ALERT! /dev/hda6 does not exist . dropping to a shell !

busybox v113 (Debian 1:1.1.3-3) built in shell (ash)
enter 'help' for a list of built in commands.

/bin/sh: cant access tty: job control turned off
(initramfs)_

it seems another file is not linked to the correct partition as its refering to hda6 when i have referred fstab config file to sda's. ?

hal8000
01-14-2009, 09:50 PM
knoppix fstab file

# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda5 / reiserfs defaults 0 1

proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0
# Added by KNOPPIX
/dev/hda1 /media/hda1 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda2 /media/hda2 auto noauto,users,exec 0 0
# Added by KNOPPIX
/dev/hda4 /media/hda4 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 /media/hda5 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda6 /media/hda6 ntfs noauto,users,exec,umask=000 0 0
# Added by KNOPPIX
/dev/hda8 none swap defaults 0 0
# Added by KNOPPIX
/dev/hdc /media/hdc auto ro,noauto,users,exec 0 0


fstab opensuse

/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part8 swap swap defaults 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part7 / ext3 defaults 1 1
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part1 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part4 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part5 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part6 /windows/F ntfs-3g users,gid=users,fmask=133,dmask=022,locale=en_GB.U TF-8 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0


Ok, you moved the knoppix partition, according to
fdisk -l it is now on /dev/hda6 but as an NTFS filesystem?

To verify this boot into suse, open a terminal and type
as root

mount /dev/sda6 /media/sda6

You may have to create mount point sda6 so
mkdir -p /media/sda6

we have deliberately omitted the -t option as mount is smart enough to determine file type.
Then I want you to post

df -hT

This will show whats mounted and in addition which filesystem.
it would appear knoppix is now /dev/hda6 but now the / partition is ntfs not reiser so
knoppix fstab will need to be altered.

Never post anything from windows, its next to useless and computer management means nothing
The fact that you can resassign any letter from a to z to a drive in windows is also meaningless as they
can be on any partition.
With Solaris, FreeBSD and linux there is no ambiguity about any partition called sda6, we all know its
a hard drive type SATA or SCSI and the 6th partition, or 2nd logical drive in the extended partition.

Oh, the reason why Suse sees your hard drive partitions as sda and knoppix sees them as hda is
the use of libATA emulation in the kernel.
With libATA any IDE drive is seen as SD and not HD and you are limited to 16 partitions.
Hope that helps

cv65user
01-16-2009, 03:48 PM
a bit strange to day , running the commands again shows it different but as a reiserfs file system which is what it should have been in the first place

FDISK =

linux-ogo1:~ # fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd91ac89e

Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 3825 10241437+ af Unknown
/dev/sda3 3826 5610 14338012+ f W95 Ext'd (LBA)
/dev/sda4 5611 19457 111226027+ 7 HPFS/NTFS
/dev/sda5 3826 4462 5116671 7 HPFS/NTFS
/dev/sda6 4463 4972 4096543+ 83 Linux
/dev/sda7 4973 5482 4096543+ 83 Linux
/dev/sda8 5483 5610 1028128+ 82 Linux swap / Solaris


df -ht=

linux-ogo1:/mnt # mkdir -p /mnt/a
linux-ogo1:/mnt # ls
a
linux-ogo1:/mnt # mount /dev/sda6 /mnt/a
linux-ogo1:/mnt # df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda7 ext3 3.9G 2.0G 1.8G 53% /
udev tmpfs 246M 96K 246M 1% /dev
/dev/sdb1 vfat 967M 705M 263M 73% /media/NEW VOLUME
/dev/sda6 reiserfs 4.0G 2.0G 2.0G 50% /mnt/a

sdb1 is my 1gb usb stick
sda7 seems suse root
sda6 is my knoppix as when i mounted it , i brwosed to /mnt/a/ and opened this folder to which it has knoppix files in it as i recognised the menu.lst file which knoppix auto created .

hal8000
01-25-2009, 04:46 PM
OK, I presume you are using Grub as the Boot loader installed from Suse.

Can you now boot into Suse and post the output of:

cat /boot/grub/menu.lst

cv65user
01-31-2009, 11:41 PM
sorry for the late reply , ddnt realise you had reply . yes i am using open suse grub boot loader , the fancy green one . any ways here is post of cat /boot/grub/menu.lst

linux-ogo1:~ # cat /boot/grub/menu.lst
# Modified by YaST2. Last modification on Sat Jan 3 17:35:16 GMT 2009
default 0
timeout 8
gfxmenu (hd0,6)/boot/message

###Don't change this comment - YaST2 identifier: Original name: windows 1###
# this works
title windows 1
rootnoverify (hd0,6)
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: linux###
# this works
title openSUSE 11.0
root (hd0,6)
kernel /boot/vmlinuz-2.6.25.5-1.1-default root=/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part7 resume=/dev/sda8 splash=silent showopts vga=0x314
initrd /boot/initrd-2.6.25.5-1.1-default

###Don't change this comment - YaST2 identifier: Original name: windows 2###
# this doesnt work ,it was me trying to link vista
title windows 2
rootnoverify (hd0,6)
chainloader (hd0,3)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
# this works , its opene susue safe mode
title Failsafe -- openSUSE 11.0
root (hd0,6)
kernel /boot/vmlinuz-2.6.25.5-1.1-default root=/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVT-_WD-WXE808EK4160-part7 showopts ide=nodma apm=off acpi=off noresume nosmp noapic maxcpus=0 edd=off x11failsafe vga=0x314
initrd /boot/initrd-2.6.25.5-1.1-default

title vista manual
# this doesnt work . again , this was me trying to link vista but now i realise vista uses totally different boot loader system
rootnoverify (hd0,6)
chainloader (hd0,3)+1

title Debian GNU/Linux, kernel 2.6.19 Default
# this doesnt work , i have been trying to tweak it to work
root (hd0,6)
# if i change this to hd0,5 , it boots to that intrimfs error , if i boot as it is , i get grub error
kernel /boot/vmlinuz root=/dev/hda6 rw ramdisk_size=100000 lang=us apm=power-off nomce vga=791
# i can either leave to hda6 or chANGE to hda5 either way it will still boot to that intrimfs error
initrd /boot/initrd.img
savedefault
boot

###Don't change this comment - YaST2 identifier: Original name: windows 2###
# this doesnt work , it was me messing trying to get vista to boot
title windows 3
rootnoverify (hd0,6)
chainloader (hd0,5)+1
makeactive
savedefault
boot
linux-ogo1:~ #

hal8000
02-02-2009, 10:23 PM
sorry for the late reply , ddnt realise you had reply . yes i am using open suse grub boot loader , the fancy green one . any ways here is post of cat /boot/grub/menu.lst


title Debian GNU/Linux, kernel 2.6.19 Default
# this doesnt work , i have been trying to tweak it to work
root (hd0,6)
# if i change this to hd0,5 , it boots to that intrimfs error , if i boot as it is , i get grub error
kernel /boot/vmlinuz root=/dev/hda6 rw ramdisk_size=100000 lang=us apm=power-off nomce vga=791
# i can either leave to hda6 or chANGE to hda5 either way it will still boot to that intrimfs error
initrd /boot/initrd.img
savedefault
boot

linux-ogo1:~ #


Ok edit the above section as shown below:

title Knoppix kernel 2.6.19
# this doesnt work , i have been trying to tweak it to work
root (hd0,5)
kernel /boot/vmlinuz root=/dev/sda6 rw ramdisk_size=100000 lang=us apm=power-off nomce vga=791
initrd /boot/initrd.img
savedefault
boot


That should work (hd0,5) is grubs notation for partition 6, Suse uses libata emulation so it should be called sda6 not hda6
You also need to mount the knoppix partition from Suse and look at the /boot partition

You already created /mnt/a

so from suse as root

Mount /dev/sda6 /mnt/a

(check dmesg for errors, then)

df -hT

this should display sda6 mounted as correct filesystem.
Now type

cd /mnt/a/boot

ls -l

You should see symbolic links, vmlinuz pointing to vmlinuz-2.6.19
and initrd.img a symlink pointing to initrd.img-2.4.19

If the symlinks do not exist create them, if they do exist, you can try changing the sda6 back to hda6
Suse uses libata, knoppix does not.

Whilst the knoppix partition is still mount post also output of

cat /mnt/a/etc/fstab

cv65user
02-05-2009, 09:48 PM
***
linux-ogo1:~ # df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda7 ext3 3.9G 2.0G 1.8G 53% /
udev tmpfs 246M 88K 246M 1% /dev
/dev/sda1 fuseblk 20G 7.6G 12G 39% /windows/C
/dev/sda4 fuseblk 107G 62G 45G 58% /windows/D
/dev/sda5 fuseblk 4.9G 3.2G 1.8G 64% /windows/E
/dev/sda6 reiserfs 4.0G 2.0G 2.0G 50% /mnt/a

ok so seems sda6 is recognised as reiserfs
***

linux-ogo1:/mnt/a/boot # ls -l
total 8815
lrwxrwxrwx 1 root root 17 Jan 10 15:22 System.map -> System.map-2.6.19
-rw-r--r-- 1 root root 964483 Dec 17 2006 System.map-2.6.19
-rw-r--r-- 1 root root 308326 Dec 19 2006 coffee.bmp
-rw-r--r-- 1 root root 76434 Dec 17 2006 config-2.6.19
lrwxrwxrwx 1 root root 13 Jan 10 15:22 debian.bmp -> /boot/sid.bmp
-rw-r--r-- 1 root root 153720 Dec 19 2006 debianlilo.bmp
drwxr-xr-x 2 root root 384 Jan 12 10:13 grub
lrwxrwxrwx 1 root root 17 Jan 10 15:35 initrd.img -> initrd.img-2.6.19
-rw-r--r-- 1 root root 5419192 Jan 10 15:35 initrd.img-2.6.19
-rw-r--r-- 1 root root 512 Jan 10 15:35 knoppix-old-mbr.2009-01-10
-rw-r--r-- 1 root root 23662 Dec 19 2006 sarge.bmp
-rw-r--r-- 1 root root 24116 Dec 19 2006 sid.bmp
lrwxrwxrwx 1 root root 14 Jan 10 15:35 vmlinuz -> vmlinuz-2.6.19
-rw-r--r-- 1 root root 2029901 Dec 17 2006 vmlinuz-2.6.19
linux-ogo1:/mnt/a/boot #

i ddidnt understand this bit , but it seems the -> are pointers ? to correct img files. i honestly do not know how to re link it if its wrong ?

**************


linux-ogo1:/mnt/a/boot # cat /mnt/a/etc/fstab
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/sda6 / auto defaults 0 1


proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
usbfs /proc/bus/usb usbfs devmode=0666 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0

/dev/cdrom /media/cdrom iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/cdrom1 /media/cdrom1 iso9660 defaults,ro,users,noexec,noauto 0 0
/dev/dvd /media/dvd iso9660 defaults,ro,users,noexec,noauto 0 0

# Added by KNOPPIX
#/dev/hda1 /media/hda1 ntfs noauto,users,exec,umask=000 0 0

# Added by KNOPPIX
#/dev/hda2 /media/hda2 auto noauto,users,exec 0 0

# Added by KNOPPIX
#/dev/hda4 /media/hda4 ntfs noauto,users,exec,umask=000 0 0

# Added by KNOPPIX
#/dev/hda5 /media/hda5 ntfs noauto,users,exec,umask=000 0 0
/dev/hda5 / reiserfs auto,users,noexec, rw

# Added by KNOPPIX
#/dev/sda6 /media/sda6 reiserfs noauto,users,exec,umask=000 0 0
#/dev/sda6 / reiserfs auto,users,noexec, rw

# Added by KNOPPIX
/dev/sda8 none swap defaults 0 0

# Added by KNOPPIX
/dev/hdc /media/hdc auto ro,noauto,users,exec 0 0

linux-ogo1:/mnt/a/boot #
*****

at the moment , it boots to install knopix then says cannot locate swap at hda8 and goes into diagnostic load asks me for password , so i type in the word 'password' as the password and it logs me in as root . or i can pres ctrl D to exit setup ????

cv65user
02-05-2009, 10:10 PM
right i understand about symbolic links , i googled it and wikipedia it so it seemes mines ok

so i changed the line dev/hda8 none swap defaults 0 0 to sda8 which was my swap partition . now it boots to a knopix box . it asks for user name and password which i enter. and then it logs into something along the lines of acer@box prompt . similar to dos prompt . but how do i bring it up to a gui desktop ?

hal8000
02-10-2009, 03:16 PM
right i understand about symbolic links , i googled it and wikipedia it so it seemes mines ok

so i changed the line dev/hda8 none swap defaults 0 0 to sda8 which was my swap partition . now it boots to a knopix box . it asks for user name and password which i enter. and then it logs into something along the lines of acer@box prompt . similar to dos prompt . but how do i bring it up to a gui desktop ?

startx

That will bring you into the default X desktop which is KDE

cv65user
02-10-2009, 07:39 PM
wikid , cant wait , ill update as soon as i get home . would there be a way so it auto loads this command. again where would i place that command .

cv65user
02-11-2009, 01:34 PM
hmmm it boots to a failure , something not finding x server window , ill have to re post tonight error message :( ok here is the error message, sorry to bug you again.



now starting x display manager xdm it is not hte default display manager
debian gnu linux 4.0 box tty1
box login:
so i login in
startx
screen goes blank fofr split second as if loading desktop but then says

fatal server error
no screens found
xio: fatal io error 104 (coninection reset by peer ) on x servcer ":0.0" after 0 requestrs (0 known processed) with events remaining

acer@box:~$

cv65user
02-15-2009, 10:55 AM
right so after google research it seems i dont have display manager properly configuered so i loged in as root and typed dpkg-reconfigure kdm . it loads a blue screen with two optiosn to either select xde or xdm as the default display manager and i set xdm as default dispalkyt mnanager system start up links for /etc/init.d/xdm already exist

so i ggogled further and did a $su vi edit on the xdm file but i couldnt save and exit it in command line so i tried to start xfm with the switch change heed_defyault_display_manager=false /etc/init.d/xdm start and it reveals that my /etc/x11/xorg.conf file is not configured.

however if i try to CD to /etc/x11 directory (/etc/ exists) but (/x11) doesnt exist so really it seems that its either file missing or point to wrong directory ?

hal8000
02-15-2009, 10:39 PM
You can reconfigure X by typing as root:

dpkg-reconfigure xserver-xorg

As you have no screens configured, the xorg.conf file has either been moved, altered or deleted
running above command should help you to recreate a new one.

Its /etc/X11 not /etc/x11 If /etc/X11 is not there your original cloning process went badly wrong,
and you may be better cutting your losses and reinstalling.

grub4dos as a bootloader, how do you get on with this?

You can run all system from grub, with OSX for mac its a matter of chainloading the appropriate stanza in menu.lst
e.g.
title MacOSX
root (0,2,a)
chainloader +1

where 0,2 represent the primary partition for MacOSX and a being the slice that the Darwin bootlaoder is using.
I never got MacOSX working on my PC, its very dependent on hardware.

cv65user
02-21-2009, 01:41 PM
you might be right . it might be easier if i cut my losses and do a fresh install . only problem is hnow do i actually direct knoppix to install to a specific partition? as in the installer i am pretty sure it either only allowed me to install on fresh hdd or a 1:1 install where it auto created swap partition and then a data partition only.

but in my case i need knoppix to install to the sda6 partition with the swap on sda7 ?

nb , osx was an easy install for me as i got aspire one so there was lots of how tos for the kalyway osx iso altho speed step doesnt work so its cpu throttling doesnt work so its killing my battery. as well as no wifi driver . i am using chainloader file to boot osx from xp boot loader

whats the a in "root (0,2,a) " mean ?