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
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
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
Originally Posted by cv65user
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
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 .
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 ?
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
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
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. ?
Originally Posted by cv65user
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
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 .
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

Windows Server 2022 | Intel 18-Core Xeon | 32GB ECC DDR4 | 256GB SSD + 3TB HDD
$799.00
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
867959-B21 HPE ProLiant DL360 G10 CTO Server W/ 2x 865414-B21 1x 840140-001
$245.00
Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD
$99.99
Gigabyte 4U AI Server 10x Nvidia GPU 2x Xeon Gold 6150 36 Core 2.7GHz DDR4 RAM
$1499.00
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W
$524.99
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$409.99
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
RDS CAL - Remote Desktop Services Windows Server 2019 50 User/Device Connections
$63.00