LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-09-2005, 04:53 AM   #16
sina94
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Original Poster
Rep: Reputation: 0

Knoppix (at least the version I have) automatically formats the partition as reiserfs. I had chosen ext2, but when it started formatting my hard drive Knoppix overrode my decision and formatted it as reiserfs.
 
Old 10-09-2005, 01:12 PM   #17
TexasDevilDog
Member
 
Registered: Nov 2003
Posts: 54

Rep: Reputation: 15
Looks like you are on the root problem now. Good luck.
 
Old 10-09-2005, 02:52 PM   #18
sina94
LQ Newbie
 
Registered: Sep 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Success...

Thirds times a charm. Booted from the Knoppix DVD and started installing knoppix for the third time (and I enabled the dma "cheatcode" this time so installation was a little speedier)...

I used the same setup, but this time I looked around and found the .knofig file and manually set it up to do an ext2 partition and told it not to make a boot disk (because I wasn't making one anyway)... I ended up with this:

Code:
REGISTERED=' SYSTEM_MODULE SYSTEM_TYPE HD_MODULE HD_FORMAT HD_FSTYPE HD_CHOICE HD_MAP HD_IGNORECHECK SWAP_MODULE SWAP_AUTODETECT SWAP_CHOICES NAME_MODULE NAME_NAME USER_MODULE USER_NAME USERPASS_MODULE USERPASS_CRYPT ROOTPASS_MODULE ROOTPASS_CRYPT HOST_MODULE HOST_NAME SERVICES_MODULE SERVICES_START BOOT_MODULE BOOT_LOADER BOOT_DISK BOOT_WHERE INSTALL_READY'

SYSTEM_MODULE='configured'
# Determines if the system is a debian-derivate, a copy from CD or a nice mix of both
# Possible are: knoppix|beginner|debian
# Default value is: debian
SYSTEM_TYPE='beginner'

HD_MODULE='configured'
# Determines if the HD should be formatted. (mkfs.*)
# Possible are: yes|no
# Default value is: yes
HD_FORMAT='yes'
# Sets the Filesystem type.
# Possible are: ext3|ext2|reiserfs|reiser4|xfs|jfs
# Default value is: reiserfs
HD_FSTYPE='ext2'
# Here the Knoppix-System will be installed
# This value will be checked by function module_hd_check
HD_CHOICE='/dev/hda2'
# Here you can give additional mappings. (Experimental) You need to have the partitions formatted yourself and give the correct mappings like: "/dev/hda4:/boot /dev/hda5:/var /dev/hda6:/tmp"
HD_MAP=''
# If set to yes, the program will NOT check if there is enough space to install knoppix on the selected partition(s). Use at your own risk! Useful for example with HD_MAP if you only have a small root partition.
# Possible are: yes|no
# Default value is: no
HD_IGNORECHECK='no'

SWAP_MODULE='configured'
# If set to yes, the swap partitions will be autodetected.
# Possible are: yes|no
# Default value is: yes
SWAP_AUTODETECT='yes'
# The swap partitions to be used by the installed knoppix.
# This value will be checked by function module_swap_check
SWAP_CHOICES='/dev/hda1'

NAME_MODULE='configured'
NAME_NAME='Matt Trotter'

USER_MODULE='configured'
USER_NAME='matt'

USERPASS_MODULE='configured'
USERPASS_CRYPT='\$1\$ySPEbgkC\$tYLpfNNOSpsY3wPFEF1LL.'

ROOTPASS_MODULE='configured'
ROOTPASS_CRYPT='\$1\$PtUDmvRm\$E0a.c0fkxG3a0A03bsSU31'

HOST_MODULE='configured'
HOST_NAME='mattscomputer'

SERVICES_MODULE='configured'
# Possible services are for now: kdm cupsys smail ssh samba
# Default value is: kdm cupsys
SERVICES_START='kdm cupsys'

BOOT_MODULE='configured'
# Chooses the Boot-Loader
# Possible are: lilo|grub
# Default value is: grub
BOOT_LOADER='grub'
# If set to 'yes' a boot disk will be created!
# Possible are: yes|no
# Default value is: yes
BOOT_DISK='no'
# Where the Boot-Loader will be installed
# Possible are: mbr|partition
# Default value is: mbr
BOOT_WHERE='partition'
INSTALL_READY='yes'
With that in place I started up a root shell and ran knoppix-installer and loaded the knofig file which I'd saved on the desktop (wouldn't let me save over the existing file). Then I left it alone while it installed...

I rebooted afterwards and was dissapointed that when I selected knoppix from the NT Loader boot menu all I got was the word GRUB in the top right corner of the screen and it just sat there doing nothing. Then I remembered something...

I booted up the knoppix DVD again and got into the konsole where I switched to super user and plugged in:

dd if=/dev/hda2 of=/home/knoppix/Desktop/bootsect.lnx bs=512 count=1 (not exactly sure what all of that means, but it worked)

Then I e-mailed the file to myself (because Windows is on a NTFS partition so I can't just drag it over), and saved it in my C:\ partition in Windows to replace the file that I had there before. Now the boot.ini file in Windows pointed to the new bootsec.lnx file (just search for boot.ini and at the end of the file add the line C:\bootsect.lnx="Knoppix").

I restarted and selected Knoppix again, and this time it brought up the menu in GRUB, where I selected the first menu option and then it continued to load knoppix and presented me with a Debian login screen.

Freedom at last...
 
Old 11-05-2005, 08:00 PM   #19
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: KDE Neon (Wayland)
Posts: 5,207

Rep: Reputation: Disabled
I came upon this post late so well done .

1) instead of mailing, you could consider copying that file to the fat16 partition as knoppix can access it already in your /etc/fstab file here
/UNIONFS/dev/sda1 243440 120 243320 1% /mnt/sda1

2) however, I prefer that grub is in your mbr rather than ntldr and I will try to convice you heh heh
lets pretend you know there are bootsector virus for MS......it won't crash grub but likely to crash ntldr

if you do a fresh install of MS.....the mbr is re-written with the the NEW ntldr and the mess you had to go thru to get the dual chainloads well you catch my drift
OR you reboot with the knoppix cd or dvd and simply redo grub into mbr as per my tut because the main booting files are untouched.
so its boot to cd
open a terminal
commands are
su
grub
root (hd0,1)
setup (hd0)
quit

then reboot without cd.

3) its good to have posted your files but even better is to print out your /etc/fstab and grub menu file and keep safe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic - Missing "initrd.img-2.6.8-2-686" in /boot MKSrivastava Debian 2 12-02-2005 03:09 PM
Reboot after "BIOS Data Check Successful" using 2.6 kernel tvynr Linux - Software 2 10-05-2005 12:28 PM
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 04:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 08:02 PM
installed nvidia GLX and kernel successful.. but cant use the "enable hardware accel" kublador Linux - Newbie 4 03-17-2003 05:55 PM


All times are GMT -5. The time now is 08:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration