Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Put GRUB into CD-RW Knoppix ?

  1. #1
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    26

    Put GRUB into CD-RW Knoppix ?

    I am still using Knoppix 3.7 on Windows XP. I have no difficulty, either directly from the CD or from a "poor man's install" on my hard drive.

    I use Knoppix to access the Konqueror browser, so that I can see what my own web pages look like in Konqueror. In many cases, problems exposed by Konqueror would also be in Mac Safari. This often requires me to switch back and forth between Windows and Knoppix, numerous times.

    There is no technical difficulty: When I reboot, if the Knoppix CD is in the CD-ROM drive, I get Knoppix. If not, I get Windows. I have tried GRUB on floppy, so that I have a boot choice, but I am not satisfied, since my floppy drive is unreliable and I cannot easily replace it (laptop).

    I do not want to alter the Windows boot record with GRUB, Lilo, or any other method. But I ask: Is it possible to alter the boot record on the Knoppix CD (3.7 or later), so that it starts with GRUB rather than directly to Knoppix ? That is, whenever the CD is inserted, I want it to offer me the choice of (a) Boot to Knoppix, perhaps allowing me to enter cheat codes; or (b) ignore the Knoppix CD and go to Windows.

    I can use a CD-RW if necessary. But I cannot write DVD.

    I looked through the forum for likely topics, but didn't see this question posed. You should know that I can do many routine tasks such as use a hex editor (if given instructions), but I cannot program, and I do not understand Linux.

  2. #2
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674

    Re: Put GRUB into CD-RW Knoppix ?

    Quote Originally Posted by Robert A.
    I am still using Knoppix 3.7 on Windows XP. I have no difficulty, either directly from the CD or from a "poor man's install" on my hard drive.

    I use Knoppix to access the Konqueror browser, so that I can see what my own web pages look like in Konqueror. In many cases, problems exposed by Konqueror would also be in Mac Safari. This often requires me to switch back and forth between Windows and Knoppix, numerous times.

    There is no technical difficulty: When I reboot, if the Knoppix CD is in the CD-ROM drive, I get Knoppix. If not, I get Windows. I have tried GRUB on floppy, so that I have a boot choice, but I am not satisfied, since my floppy drive is unreliable and I cannot easily replace it (laptop).

    I do not want to alter the Windows boot record with GRUB, Lilo, or any other method. But I ask: Is it possible to alter the boot record on the Knoppix CD (3.7 or later), so that it starts with GRUB rather than directly to Knoppix ? That is, whenever the CD is inserted, I want it to offer me the choice of (a) Boot to Knoppix, perhaps allowing me to enter cheat codes; or (b) ignore the Knoppix CD and go to Windows.

    I can use a CD-RW if necessary. But I cannot write DVD.

    I looked through the forum for likely topics, but didn't see this question posed. You should know that I can do many routine tasks such as use a hex editor (if given instructions), but I cannot program, and I do not understand Linux.
    Did you really try the Knoppix Windows PMI ?
    cf: http://www.knoppix.net/forum/viewtop...=asc&start=270
    It uses the alternate boot option of the windows boot loader (ntldr) to start grub (grldr) and then boot knoppix... from the iso file. There is no hack to the mbr, only a couple of files for windows and an extra line in the boot.ini. Very clean, easy and fast to remove if required because of a corporate environment... Hope this helps. Let me know if this works for you. Best Regards, Gilles

  3. #3
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    26
    rumbeke wrote:
    Very clean, easy and fast to remove if required because of a corporate environment
    I am not in a "corporate" environment, but other family members use this computer, and I cannot offer them any choice except directly to Windows, on a protected user account (not administrator). Since they are not knowledgeable, anything else is a risk. I hoped to put the dual-boot on the CD, so that when I take it out of the drive, it is not available.

    Thanks, I will look at the method you suggesed. But it might not be what I intend - on second thought (if I understand your own forum post correctly) maybe it will work. I'll get back to you after trying (it won't be today).

  4. #4
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by Robert A.
    ... Since they are not knowledgeable, anything else is a risk. I hoped to put the dual-boot on the CD, so that when I take it out of the drive, it is not available...
    Just a couple of ideas: Grub allow you to use a password, the default boot (time out and enter key) can still be that it will boot windows from both bootloaders: xp and grub, so you will need to select knoppix on both bootloaders menus... You can also use a USB dongle instead of a floppy to only load knoppix when the USB dongle is connected... Cheers, Gilles

  5. #5
    Member registered user
    Join Date
    Sep 2005
    Posts
    40
    is this really true that GRUB doesnot come with the knoppix livecd? i believe someone was able to do it because i saw grub in action inside a livecd with Schillix 0.1 http://schillix.berlios.de/index.php?id=downloads, etc.
    or, in case that's hard to do, ruymbeke's first reply to this post is quite right about the windows PMI, it did not write to my corporate PC's MBR, just a couple of files added and a new line in the boot.ini, add a bunch of cheatcodes and knoppix should be good to go. *peace*

  6. #6
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    26
    Thanks, ruymbeke. Although your solution wasn't what I originally had in mind, it works... almost. Being able to dual-boot to a HD iso image - easily updated, no CD required - without any change to the Windows MBR, in a way that I can easily edit myself from within Windows, is a big plus.

    Using a password with grub will solve the granny problem. I'm not worried about hackers, rather I'm worried about the computer-illiterate getting into something they can't handle. (Do you think they would notice if it booted to Linux instead of Windows? No!)

    While I was at it, I upgraded to Knoppix 3.8.2. Since I don't need all the capabilities, I didn't want to fool with some of the things that seem to have popped up in 3.9 and later.

    One problem, and it is significant: (1) Old method, prior to using Grub from HD: Using a CD (even wtih poor man's install), when I reboot from Knoppix all is OK. After termination, I get the message from Knoppix to remove the CD, then hit ENTER. If I hit enter, the computer re-boots. It re-boots to Windows if I did remove the CD, or re-boots to Knoppix if I left the CD in. No problem. (2) But new method, using Grub boot from HD and Knoppix iso from HD, as described above: When I reboot from Knoppix, it hangs at the end of termination, just before the line that asks me to remove the CD. At this point, even with patience, nothing happens. Hitting ENTER does nothing except feed a line. If I use CTRL+ALT+DEL, then Knoppix responds with a few lines that seems to indicate it is trying to do something, but fails. The only way to re-boot is to manually turn the power off and on! This is not an improvement.

    Is this fixable, via cheat code or (if necessary and understandable) by edits, including hexedit to iso file?

  7. #7
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by Robert A.
    ...When I reboot from Knoppix, it hangs at the end of termination, just before the line that asks me to remove the CD...
    This is a know problem that I hope will be fixed soon. There is a patch for it but not yet released: http://lists.debian.org/debian-knopp.../msg00019.html
    Best Regards, Gilles

  8. #8
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    26
    Thanks. I'll have a look. The nice part about your boot method is that I can easily go back to "the usual way" at any time, with a simple text edit to an accessible file.

    - Just had a look. Ouch! Is that C++, or Serbo-Croatian, or Planet X11 ? Think I'll wait until the patch is patched.

  9. #9
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    26
    Problem solved. It was a simple matter of going to the C:\BOOT\GRUB folder (installed as described above, in Windows), then editing menu.lst to remove "noprompt." I also added "config=scan home=scan" since I have a persistent Knoppix home in its own partition. Now, on my Windows XP machine with the Knoppix 3.8.2 iso file in C:\BOOT\Knoppix.382, and with password added to Grub, here is the behavior:

    (1) On boot, I get a screen asking whether I want Windows XP or Knoppix Linux. If I do nothing, it boots to Windows in the usual fashion, after a few seconds.

    (2) If I want Knoppix Linux, I get the Grub screen. I have it set so that it gives me 15 seconds to enter a password. If I do nothing, or forgot the password, then I can choose to go back to the first boot screen, and enter Windows. Either way, I need a password (I used different passwords for Windows and Linux), since my computer is not set up for a guest account.

    (3) If I enter the Knoppix password, then Knoppix loads, finds my persistent info, and is ready to work the way I want it.

    (4) When I want to switch to Windows, I tell Knoppix to restart. When it finishes, it asks me to remove the CD and hit ENTER. There's no CD in the drive, so I just hit enter, and I'm returned to the boot screen of step (1).

    All this, from hard drive. No change to the MBR. No unpacking of the Knoppix iso file. Nothing on my C:\ drive that I can't manually edit with Notepad. Can be restored ordinary Windows boot at any time. Granny can't get to Knoppix (or Windows) by accident. Beautiful.

  10. #10
    Junior Member registered user
    Join Date
    Feb 2005
    Posts
    26
    Now that I downloaded 4.0.2 CD ...

    4.0.2 works from CD-ROM. So I tried using the ISO from hard drive, the way I did for 3.8.2 above.

    I copied the linux, memtest, and minirt.gz files from the CD, put them in a boot folder, and changed the grub menu.lst to point to the new files and new ISO. But upon boot, it really hated it. I did not see a minirt_ntsf.gz file on 4.0.2.

    So I tried booting the 4.0.2 ISO from the files that I had been using for 3.8.2. I didn't expect this to work, and indeed the Linux loader complained mightily about some missing module. Nevertheless, when it had finished complaining, I eventually arrived at the Knoppix desktop (using my previously-saved 3.8.2 config) and was able to launch Firefox (off-line). I did not attempt anything else.

    I assume that the boot files need to be specially arranged for 4.0.2. ?

Page 1 of 2 12 LastLast

Similar Threads

  1. Knoppix using GRUB as bootloader
    By Albretch in forum Hardware & Booting
    Replies: 1
    Last Post: 11-21-2005, 06:02 PM
  2. Knoppix 3.8.2 to HDD, no grub to mbr
    By francio in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 05-30-2005, 09:05 AM
  3. how do i run Grub on Knoppix 3.7
    By papwilly in forum Hdd Install / Debian / Apt
    Replies: 24
    Last Post: 03-20-2005, 10:43 PM
  4. Using knoppix to aid in installing GRUB on a HDD
    By brian in forum General Support
    Replies: 0
    Last Post: 01-17-2005, 05:59 PM
  5. Knoppix & Grub
    By Jken in forum Customising & Remastering
    Replies: 0
    Last Post: 06-03-2004, 01:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad picture

For Lenovo IdeaPad 3 15IIL05 15IML05 15ADA05 15ARE05 Palmrest Keyboard Touchpad

$59.25



For Lenovo Yoga 910-13IKB USB C Charging Port Board with Cable NS-A901 US picture

For Lenovo Yoga 910-13IKB USB C Charging Port Board with Cable NS-A901 US

$138.04



New For Lenovo IdeaPad Flex 5 14ALC05 Palmrest Keyboard Grey Backlit 5CB1C39900 picture

New For Lenovo IdeaPad Flex 5 14ALC05 Palmrest Keyboard Grey Backlit 5CB1C39900

$142.11



Lenovo ThinkPad T480 14

Lenovo ThinkPad T480 14" Touchscreen Laptop i5 256GB NVMe 16GB RAM Win 11 Pro

$249.00



Lenovo - LOQ 15.6

Lenovo - LOQ 15.6" Gaming Laptop FHD - Intel Core i5-13420H with 8GB Memory -...

$629.99



Lenovo Ideapad 1i 15.6

Lenovo Ideapad 1i 15.6" FHD Notebook Intel Core i5-1235U 8GB RAM 256GB SSD

$349.99



Lenovo 100e Chromebook Laptop 2nd Gen | 11.6

Lenovo 100e Chromebook Laptop 2nd Gen | 11.6" HD | MTK 1.7GHz | 4GB RAM | 32GB

$32.00



Lenovo ThinkPad Yoga 11e 11.6

Lenovo ThinkPad Yoga 11e 11.6" 2in1 Touch Intel Core i3 4GB RAM 128GB SSD Win10

$59.00



Notebook Lenovo Slim Pro 9 Laptop, 16

Notebook Lenovo Slim Pro 9 Laptop, 16" Glass, i9-13905H, GB, 1TB SSD

$1051.99



Lenovo ThinkPad 14

Lenovo ThinkPad 14" Laptop Computer Core i7 16GB RAM 256GB SSD Windows 10 Pro

$229.99