LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-05-2009, 08:46 PM   #1
ArcaneChaos
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
Confused about df and fdisk


I have two drives in my system.. one is 160G and the other a new 320G. Both are identical as far as file sytems are concerned.. so I think i'm booting off the 320, at least.. that's what I was attempting. I *was* booting off the 160G but have since upgraded and copied all files to the new drive...

Now, to check which drive is mounted.. I issue the df command:

Code:
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1             286G   45G  227G  17% /
tmpfs                1007M     0 1007M   0% /lib/init/rw
varrun               1007M  312K 1007M   1% /var/run
varlock              1007M     0 1007M   0% /var/lock
procbususb           1007M  168K 1007M   1% /proc/bus/usb
udev                 1007M  168K 1007M   1% /dev
tmpfs                1007M   84K 1007M   1% /dev/shm
lrm                  1007M  2.2M 1005M   1% /lib/modules/2.6.28-15-generic/volatile
/dev/sdb1... I thought that was my old drive.. but the size looks to be right.. So i check fdisk -l

Code:
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf6f6f6f6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       37893   304375491   83  Linux
/dev/sda2           37894       38913     8193150   82  Linux swap / Solaris
fdisk shows it as sda.. which is what I thought it was.. and also what I told grub was my new drive. But why does df show my new drive as sdb?

They are both SATA drives. I hope I haven't confused you too much.. but i'm pretty confused myself. I'm not even sure which hard drive i'm booting from...
 
Old 09-05-2009, 09:09 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,093

Rep: Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978Reputation: 978
Go get the bootinfo script from sf.net and run that - then post the RESULTS.txt file (all of it).
 
Old 09-05-2009, 10:09 PM   #3
ArcaneChaos
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Code:
============================= Boot Info Summary: ==============================

 => Grub0.97 is installed in the MBR of /dev/sda and looks on the same drive 
    in partition #1 for /boot/grub/stage2 and /boot/grub/menu.lst.
 => Acer 3 is installed in the MBR of /dev/sdb

sda1: _________________________________________________________________________

    File system:       ext4
    Boot sector type:  Grub
    Boot sector info:  Grub is installed in the boot sector of sda1 and looks 
                       at sector 83775 of the same hard drive for the stage2 
                       file, but no stage2 files can be found at this 
                       location.
    Operating System:  Ubuntu 9.04
    Boot files/dirs:   /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/core.img

sda2: _________________________________________________________________________

    File system:       swap
    Boot sector type:  Unknown
    Boot sector info:  

sdb1: _________________________________________________________________________

    File system:       ext3
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 9.04
    Boot files/dirs:   /boot/grub/menu.lst /boot/grub/grub.cfg /etc/fstab 
                       /boot/grub/core.img

sdb2: _________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info:  

sdb5: _________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

=========================== Drive/Partition Info: =============================

Drive: sda ___________________ _____________________________________________________

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xf6f6f6f6

Partition  Boot         Start           End          Size  Id System

/dev/sda1    *             63   608,751,044   608,750,982  83 Linux
/dev/sda2         608,751,045   625,137,344    16,386,300  82 Linux swap / Solaris


Drive: sdb ___________________ _____________________________________________________

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0x000a25cf

Partition  Boot         Start           End          Size  Id System

/dev/sdb1    *             63   303,467,849   303,467,787  83 Linux
/dev/sdb2         303,467,850   312,576,704     9,108,855   5 Extended
/dev/sdb5         303,467,913   312,576,704     9,108,792  82 Linux swap / Solaris


blkid -c /dev/null: ____________________________________________________________

/dev/sda1: UUID="a48c6db4-081d-406c-b75c-43c44f954114" TYPE="ext4" 
/dev/sda2: LABEL="swap" UUID="e7833d07-95e3-4be6-93e1-ee03b49396aa" TYPE="swap" 
/dev/sdb1: UUID="10d1eaa5-286e-4157-87bb-1adc96285420" TYPE="ext3" 
/dev/sdb5: UUID="6849c68f-fef7-4f01-bc5f-cc2657f94aa3" TYPE="swap" 

=============================== "mount" output: ===============================

/dev/sdb1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.28-15-generic/volatile type tmpfs (rw,mode=755)
usbfs on /dev/bus/usb/.usbfs type usbfs (rw,devmode=600,busmode=700,listmode=644)
usbfs on /proc/bus/usb/.usbfs type usbfs (rw,devmode=600,busmode=700,listmode=644)
securityfs on /sys/kernel/security type securityfs (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/adam/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=adam)


=========================== sda1/boot/grub/menu.lst: ===========================

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Chainload into GRUB 2
root		(hd0,0)
kernel		/boot/grub/core.img

title		컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
root
		
title		When you have verified GRUB 2 works, you can use this command to
root

title		complete the upgrade:  upgrade-from-grub-legacy
root

title		컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
root

title		Debian GNU/Linux, kernel 2.6.28-15-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-15-generic root=/dev/sda1 ro quiet splash
initrd		/boot/initrd.img-2.6.28-15-generic

title		Debian GNU/Linux, kernel 2.6.28-15-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-15-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.28-15-generic

title		Debian GNU/Linux, kernel 2.6.28-13-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.28-13-generic

title		Debian GNU/Linux, kernel 2.6.28-13-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.28-13-generic

title		Debian GNU/Linux, kernel 2.6.28-11-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.28-11-generic

title		Debian GNU/Linux, kernel 2.6.28-11-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Debian GNU/Linux, kernel 2.6.27-11-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.27-11-generic

title		Debian GNU/Linux, kernel 2.6.27-11-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.27-11-generic

title		Debian GNU/Linux, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic

title		Debian GNU/Linux, kernel 2.6.22-14-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.22-14-generic

title		Debian GNU/Linux, kernel memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

=========================== sda1/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
search --fs-uuid --set a48c6db4-081d-406c-b75c-43c44f954114
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,1)
search --fs-uuid --set a48c6db4-081d-406c-b75c-43c44f954114
menuentry "Ubuntu, linux 2.6.28-15-generic" {
	linux	/boot/vmlinuz-2.6.28-15-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu, linux 2.6.28-15-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.28-15-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu, linux 2.6.28-13-generic" {
	linux	/boot/vmlinuz-2.6.28-13-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.28-13-generic
}
menuentry "Ubuntu, linux 2.6.28-13-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.28-13-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.28-13-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic" {
	linux	/boot/vmlinuz-2.6.28-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.28-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.27-11-generic" {
	linux	/boot/vmlinuz-2.6.27-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.27-11-generic
}
menuentry "Ubuntu, linux 2.6.27-11-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.27-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.27-11-generic
}
menuentry "Ubuntu, linux 2.6.22-14-generic" {
	linux	/boot/vmlinuz-2.6.22-14-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.22-14-generic
}
menuentry "Ubuntu, linux 2.6.22-14-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.22-14-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.22-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###

=============================== sda1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=10d1eaa5-286e-4157-87bb-1adc96285420 /               ext3    defaults,errors=remount-ro,relatime 0       1
# /dev/sda5
UUID=6849c68f-fef7-4f01-bc5f-cc2657f94aa3 none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
#/dev/sdb1 /pictures               ext3    defaults,errors=remount-ro,relatime 0       1
#/dev/sdb2 /music               ext3    defaults,errors=remount-ro,relatime 0       1

bliss:/data/music    /music   nfs    rsize=8192,wsize=8192,timeo=14,intr
bliss:/data/pictures    /pictures   nfs    rsize=8192,wsize=8192,timeo=14,intr

=================== sda1: Location of files loaded by Grub: ===================


   3.5GB: boot/grub/grub.cfg
   3.8GB: boot/grub/menu.lst
    .0GB: boot/grub/stage2
    .1GB: boot/initrd.img-2.6.22-14-generic
    .1GB: boot/initrd.img-2.6.22-14-generic.bak
    .1GB: boot/initrd.img-2.6.27-11-generic
   2.3GB: boot/initrd.img-2.6.28-11-generic
    .1GB: boot/initrd.img-2.6.28-13-generic
    .0GB: boot/initrd.img-2.6.28-15-generic
    .0GB: boot/vmlinuz-2.6.22-14-generic
    .0GB: boot/vmlinuz-2.6.27-11-generic
    .3GB: boot/vmlinuz-2.6.28-11-generic
    .0GB: boot/vmlinuz-2.6.28-13-generic
    .1GB: boot/vmlinuz-2.6.28-15-generic
   2.3GB: initrd.img
    .3GB: vmlinuz

=========================== sdb1/boot/grub/menu.lst: ===========================

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		3

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Chainload into GRUB 2
root		(hd0,0)
kernel		/boot/grub/core.img

title		컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
root
		
title		When you have verified GRUB 2 works, you can use this command to
root

title		complete the upgrade:  upgrade-from-grub-legacy
root

title		컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴컴
root

title		Debian GNU/Linux, kernel 2.6.28-15-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-15-generic root=/dev/sda1 ro quiet splash
initrd		/boot/initrd.img-2.6.28-15-generic

title		Debian GNU/Linux, kernel 2.6.28-15-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-15-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.28-15-generic

title		Debian GNU/Linux, kernel 2.6.28-13-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.28-13-generic

title		Debian GNU/Linux, kernel 2.6.28-13-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.28-13-generic

title		Debian GNU/Linux, kernel 2.6.28-11-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.28-11-generic

title		Debian GNU/Linux, kernel 2.6.28-11-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.28-11-generic

title		Debian GNU/Linux, kernel 2.6.27-11-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.27-11-generic

title		Debian GNU/Linux, kernel 2.6.27-11-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.27-11-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.27-11-generic

title		Debian GNU/Linux, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro quiet splash
initrd		/boot/initrd.img-2.6.22-14-generic

title		Debian GNU/Linux, kernel 2.6.22-14-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=10d1eaa5-286e-4157-87bb-1adc96285420 ro single
initrd		/boot/initrd.img-2.6.22-14-generic

title		Debian GNU/Linux, kernel memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

=========================== sdb1/boot/grub/grub.cfg: ===========================

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/update-grub using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
set timeout=5
set root=(hd0,1)
search --fs-uuid --set a48c6db4-081d-406c-b75c-43c44f954114
if font /usr/share/grub/ascii.pff ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  terminal gfxterm
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_hurd ###
### END /etc/grub.d/10_hurd ###

### BEGIN /etc/grub.d/10_linux ###
set root=(hd0,1)
search --fs-uuid --set a48c6db4-081d-406c-b75c-43c44f954114
menuentry "Ubuntu, linux 2.6.28-15-generic" {
	linux	/boot/vmlinuz-2.6.28-15-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu, linux 2.6.28-15-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.28-15-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.28-15-generic
}
menuentry "Ubuntu, linux 2.6.28-13-generic" {
	linux	/boot/vmlinuz-2.6.28-13-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.28-13-generic
}
menuentry "Ubuntu, linux 2.6.28-13-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.28-13-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.28-13-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic" {
	linux	/boot/vmlinuz-2.6.28-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.28-11-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.28-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.28-11-generic
}
menuentry "Ubuntu, linux 2.6.27-11-generic" {
	linux	/boot/vmlinuz-2.6.27-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.27-11-generic
}
menuentry "Ubuntu, linux 2.6.27-11-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.27-11-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.27-11-generic
}
menuentry "Ubuntu, linux 2.6.22-14-generic" {
	linux	/boot/vmlinuz-2.6.22-14-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro  quiet splash
	initrd	/boot/initrd.img-2.6.22-14-generic
}
menuentry "Ubuntu, linux 2.6.22-14-generic (single-user mode)" {
	linux	/boot/vmlinuz-2.6.22-14-generic root=UUID=a48c6db4-081d-406c-b75c-43c44f954114 ro single 
	initrd	/boot/initrd.img-2.6.22-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	linux	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	linux	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file is an example on how to add custom entries
### END /etc/grub.d/40_custom ###

=============================== sdb1/etc/fstab: ===============================

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=10d1eaa5-286e-4157-87bb-1adc96285420 /               ext3    defaults,errors=remount-ro,relatime 0       1
# /dev/sda5
UUID=6849c68f-fef7-4f01-bc5f-cc2657f94aa3 none            swap    sw              0       0
/dev/hdc        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
#/dev/sdb1 /pictures               ext3    defaults,errors=remount-ro,relatime 0       1
#/dev/sdb2 /music               ext3    defaults,errors=remount-ro,relatime 0       1

bliss:/data/music    /music   nfs    rsize=8192,wsize=8192,timeo=14,intr
bliss:/data/pictures    /pictures   nfs    rsize=8192,wsize=8192,timeo=14,intr

=================== sdb1: Location of files loaded by Grub: ===================


   3.5GB: boot/grub/grub.cfg
   3.8GB: boot/grub/menu.lst
    .0GB: boot/grub/stage2
    .1GB: boot/initrd.img-2.6.22-14-generic
    .1GB: boot/initrd.img-2.6.22-14-generic.bak
    .1GB: boot/initrd.img-2.6.27-11-generic
   2.3GB: boot/initrd.img-2.6.28-11-generic
    .1GB: boot/initrd.img-2.6.28-13-generic
    .0GB: boot/initrd.img-2.6.28-15-generic
    .0GB: boot/vmlinuz-2.6.22-14-generic
    .0GB: boot/vmlinuz-2.6.27-11-generic
    .3GB: boot/vmlinuz-2.6.28-11-generic
    .0GB: boot/vmlinuz-2.6.28-13-generic
    .1GB: boot/vmlinuz-2.6.28-15-generic
   2.3GB: initrd.img
    .3GB: vmlinuz
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader  on sda2

00000000  f6 f6 f6 f6 f6 f6 f6 f6  f6 f6 f6 f6 f6 f6 f6 f6  |................|
*
00000200
 
  


Reply

Tags
df, drives, fdisk, sata


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confused nay Very Confused chrystlenight Suse/Novell 3 08-28-2007 05:57 PM
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
fdisk not available charlest Fedora 1 07-17-2006 08:45 PM
Fdisk?! erfg1 Linux - Newbie 1 03-12-2005 10:30 AM
Fdisk is different mattp Linux - Newbie 4 03-15-2004 09:28 PM


All times are GMT -5. The time now is 04:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration