Results 1 to 7 of 7

Thread: MBR & GRUB *solved*

  1. #1
    Member registered user
    Join Date
    May 2005
    Posts
    30

    MBR & GRUB *solved*

    Hey everyone,

    I just made a new 60 GB partition on my hard drive just for Kanotix. I copied all of my Kanotix stuff to that partition with Norton Ghost (Yes, I did it in Windows). So now I have a big 60GB partition with Kanotix and 10GB partition with the exact same thing. I tried making a new Kanotix boot line in my grub (so it boots from the 60GB partition). Rebooted. Yes, it's there.

    Now... The problem comes up...

    How can I change it so the grub boots from my new 60GB partition instead of the old 10GB one? I would like to get rid of the old one or make it a backup or a FAT32 so I can share my stuff between Windows and Linux.

    I know this isn't a Kanotix forum but most people @ kanotix.com speak German... I speak English... I think

    Thanks!

  2. #2
    Senior Member registered user
    Join Date
    Aug 2004
    Location
    In a house... hopefully
    Posts
    554
    on, you have to configure your grub... meaning, you have to instert code in the grub.config file...

    Code:
    default=[the partion you want's name]
    <-- thats what you have to kinda insert... but i have never used grub... so me information is limited... sorry.. thats all i can give you...

    the most likely place the grub.config file be is /etc/grub.config...


    have fun (you can do other stuff there too)...

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

    Re: MBR & GRUB

    Quote Originally Posted by Krogen
    Hey everyone,
    I just made a new 60 GB partition on my hard drive just for Kanotix. I copied all of my Kanotix stuff to that partition with Norton Ghost (Yes, I did it in Windows). So now I have a big 60GB partition with Kanotix and 10GB partition with the exact same thing. I tried making a new Kanotix boot line in my grub (so it boots from the 60GB partition). Rebooted. Yes, it's there. Now... The problem comes up...
    How can I change it so the grub boots from my new 60GB partition instead of the old 10GB one? I would like to get rid of the old one or make it a backup or a FAT32 so I can share my stuff between Windows and Linux.
    I know this isn't a Kanotix forum but most people @ kanotix.com speak German... I speak English... I think
    Thanks!
    You have to modify your menu.lst to access the new drive. To help you to figure out what to change, you can enter the interactive mode of grub once in the grub menu at boot time by pressing the [c] key. the [Tab] key will give you a list of the commands and will perfom autocompletion. As an example you can type "kernel (hd" [TAB] and grub will list you all the disk drives and partitions available. Be aware that for grub (hd0,0) = /dev/hda1 for linux, and (hd1,2) = /dev/hdb3,... Cheers, Gilles

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Location
    Belgrade, YU
    Posts
    334
    http://forum.kanotix.net/ , than go to English Forum

  5. #5
    Member registered user
    Join Date
    May 2005
    Posts
    30
    Quote Originally Posted by tdjokic
    http://forum.kanotix.net/, than go to English Forum
    Wow... Really... Like I didn't know. Your link has a , on the end thus making it not work, too. Sorry for being an a$$ but I hate when people are trying to tell other people the obvious...

    The whole English forum has only couple thousandths posts!

    @ ruymbeke

    Which menu.lst would I want to configure? I can access the new drive (partition) and boot from it. The only problem is that I will delete the old one... What's the point of modifying menu.lst on that partition if I want to delete it? *confused*

  6. #6
    Moderator Moderator
    Join Date
    Mar 2004
    Location
    Menlo Park, California
    Posts
    674
    Quote Originally Posted by Krogen
    Which menu.lst would I want to configure? I can access the new drive (partition) and boot from it. The only problem is that I will delete the old one... What's the point of modifying menu.lst on that partition if I want to delete it? *confused*
    First you need to reinstall grub with the same settings: the install will update both the MBR of the disk and the boot sector of one partition of your new disk. Then everything should work right if your config is correct. What I was trying to tell you is that if something goes wrong, you have access to a command line prompt, to figure out how to boot. With the "e" key (edit) from the grub menu you can temporary modify one menu.lst boot config to make a correction and boot. This kind of things is not possible with lilo... Hope this helps. Good luck, Gilles

  7. #7
    Member registered user
    Join Date
    May 2005
    Posts
    30
    Quote Originally Posted by ruymbeke
    Quote Originally Posted by Krogen
    Which menu.lst would I want to configure? I can access the new drive (partition) and boot from it. The only problem is that I will delete the old one... What's the point of modifying menu.lst on that partition if I want to delete it? *confused*
    First you need to reinstall grub with the same settings: the install will update both the MBR of the disk and the boot sector of one partition of your new disk. Then everything should work right if your config is correct. What I was trying to tell you is that if something goes wrong, you have access to a command line prompt, to figure out how to boot. With the "e" key (edit) from the grub menu you can temporary modify one menu.lst boot config to make a correction and boot. This kind of things is not possible with lilo... Hope this helps. Good luck, Gilles
    SUCCESS!!

    I rebooted my PC, pressed "c" in the Grub menu and did "setup (hd0) (hd0,1)", which installed the Grub to the 60GB partition. Rebooted again. Went to Windows, formatted the sda4 (10GB partition) as FAT32. Rebooted. Selected the new Kanotix boot line, booted. Got an error that it can't find SDA4 (at least that's how I understood the error message). Rebooted again with the Knoppix Live CD. Went to the fstab file on my 60GB partition, edited it so instead of SDA4 it says SDA2, rebooted.

    WORKS.

    Thanks!!! (Without the general reinstalling idea I woulnd't know what to do)

Similar Threads

  1. Printing problem (Solved)
    By antsu in forum General Support
    Replies: 0
    Last Post: 05-08-2008, 08:33 PM
  2. [Solved] Can Not Use DHCP
    By NoMansLand in forum Networking
    Replies: 1
    Last Post: 01-26-2008, 04:18 PM
  3. <SOLVED> Using XMMS
    By Elwood55 in forum General Support
    Replies: 6
    Last Post: 03-17-2007, 10:01 PM
  4. Dell 1900FP -- Solved!
    By marciano in forum Hardware & Booting
    Replies: 2
    Last Post: 10-06-2003, 12:00 PM
  5. [SOLVED] Can I get rid of Init at boot?
    By FoGia in forum General Support
    Replies: 7
    Last Post: 09-05-2003, 09:39 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
  •  


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity picture

IBM 9307-RC4 42U 19in Freestanding Server Rack Cabinet 1000 lb Capacity

$100.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$225.00



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU picture

IBM Power 720 8202-E4B Server - POWER7 4-Core 3GHz, 8GB, 2x 146GB HDD, 1725W PSU

$450.00



IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ picture

IBM x3550 M4 1x 3.50GHz Quad Core Xeon E5-2637v2 32GB RAM 8-Bay No HDDs - READ

$20.00



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU picture

IBM System x3850 X5 (7145AC1) Server w/ 2x Xeon X760, 32GB +Storage, 2x PSU

$299.99