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
  •  


WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure picture

WAVLINK RAID 2 Bay Hard Drive Docking Station SATA 2.5/3.5'' SSD HDD Enclosure

$68.39



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage picture

G-Technology G-SPEED Studio XL 48TB Thunderbolt 2 Storage

$200.00



Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD picture

Intel VROC Premium RAID Controller Card PCIe Add-On Module VROCPREMMOD

$265.00



2-Bay/4-Bay Hard Drive Enclosure for 3.5

2-Bay/4-Bay Hard Drive Enclosure for 3.5"/2.5'' SATA HDD/SSD 10Gbps USB-C 3.2

$75.99



Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller picture

Broadcom LSI 9305-16i 12Gbps SAS-3 PCIe x8 HBA 16-Ports Raid Controller

$64.99



Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller picture

Dell 3KDWX PERC H755 12G 8GB Cache Front RAID Controller

$999.99



Oyen Digital MOBIUS 5-Bay RAID Enclosure USB 3.0/eSATA/FireWire picture

Oyen Digital MOBIUS 5-Bay RAID Enclosure USB 3.0/eSATA/FireWire

$130.00



EMC VNXe3100 EPE 12-LFF 3.5

EMC VNXe3100 EPE 12-LFF 3.5" NAS Storage Array 12*3TB SAS HDD 2*303-137-000D

$224.99



Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004 picture

Broadcom 9600-24i RAID Controller PCIe Gen 4.1 Tri-Mode NEW 05-50111-01004

$649.99