bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grub error 15 after removing partition


From: John Dunn
Subject: Grub error 15 after removing partition
Date: Sun, 17 Aug 2003 09:42:29 -0700 (PDT)

Greetings,

I am hoping someone can help me get Grub working again. My
machine was dual boot to Redhat 9 and Windows98. Things
were working OK until I removed (using parted) an NTFS
partition  that was no longer needed.

Upon booting, I'm getting to Grub Stage 1.5, when Error 15
is returned. I can boot to Redhat from my boot floppy by
passing "linux root=/dev/sda7." I have modified
/etc/grub.conf numerous times to try to reflect the
partition changes, but the end result is the same. I'm
either not understanding the naming conventions or too
dense to realize I need to do something else.

Interestingly enough, when I run grub and try to "find
<fileneame>," grub will find files on the / partition, but
not on the /boot partition--I get the same Error 15
returned.

Can anyone help? Thanks very much!

John

Relevant information follows:

address@hidden root]# cat /etc/fstab
LABEL=/                 /                       ext3   
defaults        1 1
LABEL=/boot             /boot                   ext3   
defaults        1 2
none                    /dev/pts                devpts 
gid=5,mode=620  0 0
none                    /proc                   proc   
defaults        0 0
none                    /dev/shm                tmpfs  
defaults        0 0
/dev/sda3               swap                    swap   
defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto   
noauto,owner,kudzu 0 0
/dev/sdb4               /mnt/zip                auto   
noauto,owner,kudzu 0 0

address@hidden root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda7             3.0G  2.3G  548M  81% /
/dev/sda6              76M  9.3M   63M  13% /boot
none                   62M     0   62M   0% /dev/shm

PARTED PARTITION REMOVAL

address@hidden root]# parted
GNU Parted 1.6.3

Using /dev/sda
Information: The operating system thinks the geometry on
/dev/sda is
1106/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) print
Disk geometry for /dev/sda: 0.000-8683.252 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   1309.987  primary   fat32       boot
2       1309.988   8032.500  extended
5       1310.019   4314.331  logical   ntfs
6       4314.362   4902.648  logical   fat16
7       4902.680   4981.091  logical   ext3
8       4981.122   8032.500  logical   ext3
3       8032.500   8291.359  primary   linux-swap
(parted) rm 5
Error: Error informing the kernel about modifications to 
partition /dev/sda6 - Device or resource busy. This means
Linux won't know about any changes you madeto /dev/sda6
until you reboot - so you shouldn't mount it or use it in
any way before rebooting
Ignore/Cancel i

CURRENT PARTITION INFOMATION:
Disk geometry for /dev/sda: 0.000-8683.252 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   1309.987  primary   fat32       boot
2       1309.988   8032.500  extended
5       4314.362   4902.648  logical   fat16
6       4902.680   4981.091  logical   ext3
7       4981.122   8032.500  logical   ext3
3       8032.500   8291.359  primary   linux-swap

GRUB.CONF INFORMATION:
address@hidden root]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making
changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to 
#          /boot/, eg.
#          root (hd0,6)
#          kernel /vmlinuz-version ro root=/dev/sda8
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=30
# jld 08/16/03 original settings commented below 
# also tried several variations as follows:
# tried hd0,5 for splash and root, root=/dev/sda7
# tried hd0,6 for splash and root, root=/dev/sda7
# tried hd0,5 for splash, hd0,6 for root, root=/dev/sda7
#
# splashimage=(hd0,6)/grub/splash.xpm.gz
#
# title Red Hat Linux (2.4.20-8)
#       root (hd0,6)
#       kernel /vmlinuz-2.4.20-8 ro root=/dev/sda8
#       initrd /initrd-2.4.20-8.img

splashimage=(hd0,6)/grub/splash.xpm.gz
 
title Red Hat Linux (2.4.20-8)
        root (hd0,6)
        kernel /vmlinuz-2.4.20-8 ro root=/dev/sda7
        initrd /initrd-2.4.20-8.img
 
title Windows 98
#       map (hd0,0) (hd0,2)
#       map (hd0,2) (hd0,0)
        rootnoverify (hd0,0)
        chainloader +1
 
title Windows 98 Boot CD
#        map (hd0,0) (hd0,2)



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]