LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-07-2004, 07:12 PM   #1
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Rep: Reputation: 30
mount linux partition in windows xp


hi, is there a program for windows to mount linux and can read/write/exec?

i screwed up my kernel, so i cant boot it up anymore.... and for some reason the backup kernel got screwed up too

thanks for teh help
 
Old 08-07-2004, 07:33 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,936

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Is this the RH or the slackware box?
I'm not sure what slack has but you can use the RH 1st install CD to boot to rescue mode. You can also use a livecd like knoppix.
 
Old 08-07-2004, 07:35 PM   #3
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
its slack

omg why didnt i think of a live disk, lol

thanks mike
 
Old 08-07-2004, 07:36 PM   #4
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
you probably screwed up you boot-loader - get (even better - HAVE) a rescue CD or floppy and boot with that - then you can repair what got damaged or rewrite your boot-loader (or put a undamaged copy of your kernel to where it has to be - but I highly doubt that your kernel is still there, but damaged...)
depending on the filesystem you use on your linux-partition, there are programs which will give you read/write access to linux from windows - if it is ext2, there is one - but you will have to find that yourself.
There is - for what you want to do - not much point in trying to do it from windows. you could just copy or change some files - but to change the boot-configuration - it will not only have to be changed in the config-files but also needs to be written to boot-sector of some partition or to the mbr - that you cannot do from within windows...
 
Old 08-07-2004, 07:51 PM   #5
max_sipos
Member
 
Registered: Jul 2004
Posts: 96

Rep: Reputation: 15
I'm not sure if you own slack CDs but you can use the first CD as a rescue boot-disk if your computer permits booting from CD.

--

Maksim Sipos
 
Old 08-07-2004, 08:02 PM   #6
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
well the problem is not at the lilo but after linux starts to boot up

i choose linux from lilo (hdb5)

and it starts up(goes through all the hardware checking and stuff)... but then it comes to some error:

VFS: Cannot open root device "345" or hdb5
Please append a correct "root=" boot option
Kernel panic: VFS: unable to mount root fs on hdb5

weird++

this all started after i reconfigured/recompiled my kernel... most of the stuff i marked as built-in.... i guess i should've marked them as modules instead lol

Last edited by Longinus; 08-07-2004 at 08:05 PM.
 
Old 08-07-2004, 08:48 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 14,936

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Did you delete or overwrite the old kernel?
 
Old 08-07-2004, 09:21 PM   #8
Longinus
Member
 
Registered: Sep 2003
Distribution: Redhat 9.0 && Slackware 9.1
Posts: 420

Original Poster
Rep: Reputation: 30
well when i select linux.old from lilo it has the same error... i dunno what i did lol

all i did for the kernel stuff was:

make mrproper
make menuconfig
make modules
make modules_install
make
make install

then i just restarted

Last edited by Longinus; 08-07-2004 at 09:22 PM.
 
Old 08-08-2004, 07:33 AM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
what might have happened here is - you made a new kernel - and replaced you old one with it - by copying the kernel to where it has to be - and with the same name - which effectively overwrites your old one and leaves you with the new one. Now - if you misconfigured something while configuring the kernel - such as: not compiling in the filesystem you have on your / partition the kernel boots up and then does not know, how to access the / filesystem and cannot continue - and gives up with a kernel-panic

This was worst case scenario - I could also be - from what you describe:

you did everything all-right, but then forgot to update lilo by running "lilo -v"
Actually - you also forgot to copy the new system-map file to its place...I hav never installed a kernel like you did - I do:
make menuconfig

make

make_modules

make_modules install

cp ./System-map /boot System-map

cp ./arch/i386/boot/bzImage /boot/new_kernel_name

...so I do not overwrite the old one.

then I change /etc/lilo.conf to include the new kernel - but I still keep my old one this way

run: lilo -v

followed by: depmod -a

and THEN I'm ready to reboot



Question: do you have a rescue-CD or floppy ?


please look into the threads of the last couple of days - I have commented on this quite a lot and many times - search by keyword or by name...and see if it is helping you farther.
 
Old 08-08-2004, 07:44 AM   #10
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
Hello, since we are on the topic... Is it possible to access my linux drives in Windows? I'm using ext3 and ext2...
 
Old 08-08-2004, 07:57 AM   #11
hoolie_v
LQ Newbie
 
Registered: Jul 2004
Location: the Netherlands
Distribution: Slackware newbie
Posts: 11

Rep: Reputation: 0
Have a look at ltools. A need set of programs which give you acces (rwx) to most of your linux files under Windows.
 
Old 08-08-2004, 09:14 AM   #12
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
Thanks I'm checking it out now
 
Old 08-08-2004, 01:03 PM   #13
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
try explore2fs at

http://uranus.it.swin.edu.au/~jn/linux/
regards
 
Old 07-07-2007, 01:15 AM   #14
rootsynapse
LQ Newbie
 
Registered: Jul 2007
Location: America
Distribution: Slackware Linux
Posts: 1

Rep: Reputation: 0
"you probably screwed up you boot-loader"
i always her of people having this problem. thir is a cool trick to
keep the boot loader in tact even if you have formatted your root partition. make a 1GB ext2 partition on your drive. and win you install grub (my favorite) instead of putting it on your root's /boot/grub, put it in that 1GB ext2 partition.
 
Old 06-26-2008, 04:30 AM   #15
fraktik
LQ Newbie
 
Registered: Jun 2008
Posts: 3

Rep: Reputation: 0
Lightbulb some tools for mounting Ext partitions from Windowa

Did you mean:
Ext2 Installable File System For Windows - this one I use
("It provides Windows NT4.0/2000/XP/2003/Vista with full access to Linux Ext2 volumes (read access and write access). This may be useful if you have installed both Windows and Linux as a dual boot environment on your computer.")
Explore2fs - is something like you really need
LTOOLS (old name:LREAD) -just other tool.

I love google!
Fraktik


PS: But be careful:

"You can use hibernate (suspend to disk) in Windows only if you resume Windows subsequently. Furthermore, you can use hibernate (suspend to disk) in Linux only if you attempt to resume Linux subsequently. It means that you should shutdown Windows before booting Linux and vice-versa. You cannot mix the two operating systems."
 
  


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
openBSD mount windows or linux partition???? biosedit *BSD 1 11-04-2005 08:49 AM
How many windows partition can I mount? subaruwrx Debian 4 12-23-2004 07:29 PM
Can I mount my windows NTFS partition from Linux? jdruin Fedora 14 04-21-2004 12:49 PM
how do i mount my windows partition ? abiagi Linux - Newbie 8 12-07-2003 07:45 PM
can't mount windows nt partition cyberswami Linux - General 3 01-26-2003 10:22 PM


All times are GMT -5. The time now is 11:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration