-
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!
-
Senior Member
registered user
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)...
-
Re: MBR & GRUB

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
-
Senior Member
registered user
http://forum.kanotix.net/ , than go to English Forum
-

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*
-

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
-

Originally Posted by
ruymbeke

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
-
By antsu in forum General Support
Replies: 0
Last Post: 05-08-2008, 08:33 PM
-
By NoMansLand in forum Networking
Replies: 1
Last Post: 01-26-2008, 04:18 PM
-
By Elwood55 in forum General Support
Replies: 6
Last Post: 03-17-2007, 10:01 PM
-
By marciano in forum Hardware & Booting
Replies: 2
Last Post: 10-06-2003, 12:00 PM
-
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
-
Forum Rules

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS
$164.97

Supermicro 721-2 Mini Tower Black Computer Server NO Hdd
$375.00

Supermicro 505-2 Server
$280.00

Supermicro 1U Server 514-4 (X11SSZ-QF) | i7-7700 - 16GB DDR4 Ram - Rackmountable
$249.00

HPE ProLiant MicroServer Gen 10 - Opteron x3421 - 16GB DDR4 - 120GB SATA SSD
$350.00

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3
$219.99

New Barebones Supermicro 5019D Server, 4C/8T Xeon D-2123T, 1U Rackmountable, 10G
$449.99

Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00

BOXX B157552 SuperMicro X10DRT-L 2x Intel 2630V4 NO RAM & SSD Server
$160.99

SuperMicro CSE-512 3.50 GHz Intel Pentium G4560 8 GB DDR4 Server No Drives/No OS
$189.99