View previous topic :: View next topic |
Author |
Message |
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Tue Jan 13, 2009 3:54 am Post subject: [SOLVED] Laptop card reader makes 1st hard drive sdb |
|
|
I'm getting a kernel panic at boot, the typical VFS error, can't mount root partition. Used to say something to the effect of "the following drives are recognized: <empty line>", now it recognizes only my primary partitions, not my linux partitions, (all inside the extended partition).
I've googled it and searched the forums, with no result. I figure it must be something simple in the .config, but I couldn't find anything. If it's not i'll chroot in and post my .config if necessary.
Thanks _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8
Last edited by FcukThisGame on Wed Jan 14, 2009 12:31 am; edited 1 time in total |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jan 13, 2009 4:51 am Post subject: |
|
|
How many harddrives do you have ?
Maybe the kernel is only seeing the drive you don't want, and is not seeing the drive with your root partition. |
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Tue Jan 13, 2009 4:58 am Post subject: |
|
|
it's a laptop. i have one hard drive. the kernel spits out that there's an sda, with size of like 1 and no partitions or something of the sort, an sdb with only sdb1,3,4 (sdb2 is extended, houses 5,6,7,8. ), and my dvd drive, sr0
EDIT: no smileys _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8
Last edited by FcukThisGame on Tue Jan 13, 2009 5:31 am; edited 1 time in total |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jan 13, 2009 5:16 am Post subject: |
|
|
Do you have the regular PC BIOS / DOS partition table, or did you go with something fancy like EFI / GUID partitions ?
This is what my kernel .config looks like.
Code: | # grep -i partition .config
# Partition Types
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set |
|
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Tue Jan 13, 2009 5:26 am Post subject: |
|
|
Nope. MBR.
Code: | CONFIG_PM_STD_PARTITION=""
# Partition Types
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_LDM_PARTITION=y
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
CONFIG_KARMA_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SYSV68_PARTITION=y
|
this just seems to be some weird error.
I'm trying to see if I can find a boot log to post, but can't find one. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jan 13, 2009 4:38 pm Post subject: |
|
|
The output of this command might be helpful (from a LiveCD).
|
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Tue Jan 13, 2009 10:11 pm Post subject: |
|
|
Code: | root@brewer-laptop:/home/brewer# parted -l
Model: ATA Hitachi HTS54323 (scsi)
Disk /dev/sda: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 107GB 107GB primary ntfs boot
2 107GB 234GB 127GB extended
5 107GB 107GB 107MB logical ext2
6 107GB 110GB 2147MB logical linux-swap
7 110GB 172GB 62.3GB logical ext3
8 172GB 234GB 62.3GB logical ext3
3 234GB 320GB 85.9GB primary ntfs
|
_________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Tue Jan 13, 2009 10:48 pm Post subject: |
|
|
FcukThisGame,
Exact error messages will help.
Do you have a card reader in the laptop?
That may be detected as /dev/sda _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jan 13, 2009 11:34 pm Post subject: |
|
|
this usually means the kernel does not have support for the hard drive controller. boot cd, run lspci, who made the controller?. look at config for the missing support in device drivers. |
|
Back to top |
|
|
FcukThisGame l33t
Joined: 20 Apr 2005 Posts: 776 Location: /lost+found
|
Posted: Wed Jan 14, 2009 12:30 am Post subject: |
|
|
NeddySeagoon wrote: | FcukThisGame,
Exact error messages will help.
Do you have a card reader in the laptop?
That may be detected as /dev/sda |
Sure was the card reader. Good call. My old laptop had one but it didn't cause my hard drive to be sdb.
Thanks, marking solved. _________________ Sysadmin by trade, geek by choice
DESKTOP:
i7-3770K|8800GTS-512|32GB|1x256GB SSD|4x1TB|HD/BDROM|1920x1200+1680x1050
Win8 Pro w/ Hyper-V|Server 2012 VM|Ubuntu VM|Gentoo VM
TABLET: Samsung Ativ 700t
i5-3317U|4GB|128GB SSD|1920x1080 Touch
Win8 |
|
Back to top |
|
|
|