LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-15-2006, 07:05 AM   #1
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Rep: Reputation: 0
Booting problem...


Ok I managed to get my SUSE 9.3 to bring up 3 booting options when I boot up, I get windows, linux, linux (safe) and the windows works flawlessly. Just the linux wont load properly.

It starts loading stuff and it recognises all my connections including:
hda: sony cd-rom....
hdb: samsung dvd-rom....
hdc: Maxtor...(windows drive)
hdd: ST380011A...(linux drive)
and loads a few drives from the kernel then it gets down
"Waiting for device /dev/hda1 to appear: .....resume device /dev/hda1 not found (ignoring)
Loading kernel/fs/reiserfs/reiserfs.ko
Waiting for device /dev/hda2 to appear: ....not found --exiting to /bin/sh
sh: can't access tty; job control turned off
$"

SO I'm guessing I screwed up my lilo.conf when I went to make it dual boot...how can I access it from here? I'm pretty sure I used lilo...been a while since I did it and just now found out the linux part didn't work :P. been screwing around on the windows part for a few months and never tried the linux after making it dual boot...foolish of me not to test it!

Last edited by Drolith; 05-15-2006 at 08:38 AM.
 
Old 05-15-2006, 07:13 AM   #2
DENSVO
LQ Newbie
 
Registered: Apr 2006
Posts: 10

Rep: Reputation: 0
Is there any way for you to mount linux partitions to another operating system?

Best regards,
Den
 
Old 05-15-2006, 07:29 AM   #3
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
not sure, I don't know my mounting points or anything. I have never had to mount, I'm a n00b and use SuSE so I've never use the mount command...if I could just change my boot conf file I could fix this...with some help

Linux used to boot fine till I edited that file lilo.conf I'm pretty sure so someone guide me to editing that file again from there.

Last edited by Drolith; 05-15-2006 at 07:31 AM.
 
Old 05-15-2006, 07:58 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
What exactly is your Linux partitioning scheme? It looks like there is a problem accessing /dev/hda2. You could boot from a live cd like Knoppix or the Suse installation disc (rescue mode) and correct your grub settings (Suse uses grub not lilo).
 
Old 05-15-2006, 08:05 AM   #5
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
partitioning scheme no clue...all I remember is I have xp in my secondary drive and linux on my primary, I have my suse install cd and went to the rescue mode but not sure how to access my grub settings, how do I do it?
 
Old 05-15-2006, 08:26 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I don't remember the exact details, but you have to select rescue mode at boot up, mount your Suse partitions and then edit /boot/grub/menu.lst.
 
Old 05-15-2006, 09:01 AM   #7
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
ok I can't figure out how to mount my partition and access it using the rescue on the install disk can someone help me on that? My linux is my primary drive hdc I think soo how would I mount that from the rescue disk?
 
Old 05-15-2006, 09:47 AM   #8
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Just for you to know how linux names drives.

first IDE Master is named hda
first IDE Slave is named hdb
second IDE Master is named hdc
second IDE Slave is named hdd

Names of parition is just adding a number at the end of hd*
first partition would be hda1. Second hda2...

All right, now how to mount

mount devicename target directory

In your case it would be:

mount /dev/hdc1 /media/hd

Check that the target directory exists. if not create it with mkdir.
If you have more then one partition belonging to your installation check out /etc/fstab. (cat /etc/fstab) it will show you which partition has to go where.
 
Old 05-15-2006, 10:37 AM   #9
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
well I tried mount -t ext2 /dev/hdc1 /mnt/Linux but I get "wrong fs type, bad option, bad superblock on /dev/hdc1, missing codepage or other..." all my fstab has is whatever the rescue CD put in it which includes:
"/dev/root / ext2 defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
(I added) /dev/hdc1 /mnt/Linux ext2 auto,users,rw,exec 0 0
"

when I try mount /dev/hdc1 /mnt/Linux it sais I must specify the filesystem type.

what the crap do I do? I don't know what drives to mount...or filetype, and I can't even get anything to mount...but I'm also a n00b so I could be doing something wrong.

Last edited by Drolith; 05-15-2006 at 10:39 AM.
 
Old 05-15-2006, 12:01 PM   #10
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
The command looks good. Try someother filesystemtypes like
ext3
xfs
nfs
riserfs

I´M not quite sure if they are writen correct. do a cat /etc/filesystems to see which filesystems your kernel supports and for a try some of them with the mount command.
 
Old 05-15-2006, 12:17 PM   #11
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
ok well the only system that gave me a response was nfs (which wasn't even in my /etc/filesystems) and with nfs as the mount file system it sais directory to mount not in host:dir format...so what does this mean?
 
Old 05-15-2006, 04:48 PM   #12
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
My bad that i stated the nfs filesystemtype. nfs is a network file system.

Another thing that comes to my mind is that the first partition is normaly a swap partition which is not mounted through mount. Please try hdc2 and or hdc3 and see what happens.

There definetly is a programm that tries to tell you which filesystem is on a particular device. Can't remember the name so. Saw it somewhere on this forum. think its a German University that made it. If everything fails we need to find that programm and see what it says.

But were definetly getting there
 
Old 05-16-2006, 01:31 AM   #13
Drolith
LQ Newbie
 
Registered: Nov 2005
Posts: 14

Original Poster
Rep: Reputation: 0
ok I'm in...ignore that.

Last edited by Drolith; 05-16-2006 at 01:51 AM.
 
Old 05-16-2006, 01:43 AM   #14
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
hey just a quick note...next time you have the covers off your pc, swap the ide cables around so hda is a hard drive and your cd and dvd are hdc and hdd....primary master and slave should be harddrives in your situation...
it can be a pain at times when there not...just change the cables at the board end...
saves head aches and can be easier to understand for you as well when someone says hda or hdb for harddrives...
cd and dvd dont mount unless you have a disc in them, then you can mount them, but you need something to mount...cant mount thin air...
 
Old 05-16-2006, 01:45 AM   #15
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
Quote:
Originally Posted by Drolith
lol yay hdc2 worked :P I tried hdc 0 earlier..not sure why I didn't try 2...oh well, now to change my boot conf file. Ok I'm learning alot here! now I can find the grub.conf but all it sais is
"setup --stage2=/boot/grub/stage2 (hd0) (hd0,1)
quit"
in grub hd0 is hda
hd1 is hdb
hd2 is hdc
hd3 is hdd
 
  


Reply


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
booting problem einstien Linux - Hardware 1 07-06-2005 06:20 AM
booting problem george97 Linux - Newbie 1 03-24-2005 06:56 AM
Booting problem mchsrifle189 Linux - Hardware 3 09-27-2004 07:42 PM
Booting problem pen^2 Linux - General 12 10-22-2003 10:11 AM
problem booting up TallAmericano Mandriva 2 10-08-2003 02:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration