Home | Community | Message Board

MushroomMan Mycology
This site includes paid links. Please support our sponsors.


Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Shop: Myyco.com Golden Teacher Liquid Culture For Sale   Unfolding Nature Unfolding Nature: Being in the Implicate Order   Kraken Kratom Red Vein Kratom

Jump to first unread post Pages: < Back | 1 | 2  [ show all ]
InvisibleDawks
Jolly African Potato


Registered: 06/09/10
Posts: 4,935
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: imachavel]
    #14963763 - 08/23/11 12:28 AM (12 years, 8 months ago)

Yes. Simply put the Ubuntu live CD in the Unbootable computer, open a terminal (on the live CD) and type:

Code:
sudo su
mkdir /mnt/myfs
mount /dev/sda2 /mnt/myfs
wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
reboot



That'll fix grub. Pop the live CD out and your computer should be able to boot fine.


--------------------
date ; unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: Dawks]
    #14963884 - 08/23/11 01:20 AM (12 years, 8 months ago)

I'm pretty sure I already tried this, and that linux won't boot unless the live cd is in there. yes, this is the first thing you posted, it didn't work, I'll try this out:

sudo su
mkdir /mnt/myfs
mount /dev/sda2 /mnt/myfs
wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
reboot

but first I think I have to reboot. linux doesn't like the live cd so much, there is always something wrong. this time I can't open the terminal. hey, I appreciate the help, if we can't fix it, then I don't know. we tried


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: imachavel]
    #14963924 - 08/23/11 01:43 AM (12 years, 8 months ago)

I believe i completely misunderstood you. :foreheadslap: My apologies sir. When we purged grub2, and installed grub. it loads grub as a command line interface at start up, correct? so what I need now, is the correct set of commands. I'm guessing I load kernel, and then load either /dev/sda1 or /dev/sda2 correct? giving me the choice for windows or linux??

tell me I'm getting somewhere. this is what happens though from the commands I loaded in terminal, at restart >grub appears. with help it gives me the option to load /dev/ but first I need to load the kernel. I'm pretty sure I'm close.


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Extras: Filter Print Post Top
InvisibleDawks
Jolly African Potato


Registered: 06/09/10
Posts: 4,935
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: Dawks]
    #14964007 - 08/23/11 02:31 AM (12 years, 8 months ago)

When I told you to do this:

Quote:

Dawks said:
Code:
sudo su
apt-get purge grub2 grub-pc
apt-get purge grub
rm -r /boot/grub
apt-get install grub
mkdir /boot/grub
update-grub
grub-install /dev/sda
update-grub
rm /boot/grub/menu.lst
wget http://bytecube.net/temp/shroomery/menu.lst /boot/grub
cat /boot/grub/menu.lst







This broke grub (but your file system is in tact).

That means that we will not be able to boot into your system AT ALL. Instead you'll see something that looks like this:



This is where you are now right?

Grub can't be fixed from this screen. We need to fix it using the live CD.

Put in the live/installer CD and boot from it:



Click "Try Ubuntu". Now Go to Applications->Accessories->Terminal



In the terminal type:

Code:
sudo su
mkdir /mnt/myfs
mount /dev/sda2 /mnt/myfs
wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
reboot





Now when you reboot you computer (without the live CD). The boot menu should be restored.



This is ALL we want for now. Once you get to this point we can add XP but you MUST get here first.


--------------------
date ; unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: Dawks]
    #14964884 - 08/23/11 09:33 AM (12 years, 8 months ago)

[sudo su
mkdir /mnt/myfs
mount /dev/sda2 /mnt/myfs
wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
reboot]

this didn't work. I've GOT to leave windows 7 running for a few hours to complete a scan and a few crucial downloads. in a few hours I'll log back in to live cd. Yes, everything worked as you explained it. the only problem is that that command didn't work. I must have gotten an error that I could type out here. I'll try the commands like 8 more times, and ANY possible error I'll post it.

I can see you log in quite a bit. I hope you aren't taking too much time out of your life to help me fix this. Anyway, what times do you log in?? I'll try and post at those times to make it easier. I have no idea why THIS:

[sudo su
mkdir /mnt/myfs
mount /dev/sda2 /mnt/myfs
wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
reboot]

didn't work from live cd. But I'll post any error messages I get, THANKS


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Edited by imachavel (08/24/11 03:25 AM)

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: Dawks]
    #14966317 - 08/23/11 02:58 PM (12 years, 8 months ago)

Quote:

Dawks said:




This is ALL we want for now. Once you get to this point we can add XP but you MUST get here first.




ok I think i see what's going on. this screen does come up first, but for a split second, so quickly, that i can barely see that it loads. in fact it's so quick that I'm not sure if the Dawk's boot loader is included in the loading. then it takes me to a loader, that isn't grub, but is some linux command line. it's probably loading ubuntu but only in recovery mode. so I get to a command prompt that asks for name and root password, and then from there I'm stuck since I don't know the commands.

now I'm not sure if your boot loader option appears in the loading screen, as I don't have time to select a boot option. when I run this:

sudo su
mkdir /mnt/myfs
mount /dev/sda2 /mnt/myfs
wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
reboot

there are definitely no errors. it's installing whatever you loaded into your shroomery web files page. I don't know, is there a way to increase the time out so I can look at that grub loader and see if Dawk's is in there. now if that option ISN'T in there, why would it not be? I'll retry those commands and give you a direct read out, because there are no errors, that way you can see what is going on

sudo su
root@ubuntu:/home/ubuntu# mkdir /mnt/myfs
root@ubuntu:/home/ubuntu# mount/dev/sda2 /mnt/myfs
bash: mount/dev/sda2: No such file or directory
root@ubuntu:/home/ubuntu# mount /dev/sda2 /mnt/myfs
root@ubuntu:/home/ubuntu# wget http://bytecube.net/temp/shroomery/menu.lst -O /mnt/myfs/boot/grub/menu.lst
--2011-08-23 20:56:55--  http://bytecube.net/temp/shroomery/menu.lst
Resolving bytecube.net... 70.40.198.141
Connecting to bytecube.net|70.40.198.141|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1171 (1.1K) [text/plain]
Saving to: `/mnt/myfs/boot/grub/menu.lst'

100%[======================================>] 1,171      --.-K/s  in 0s     

2011-08-23 20:56:55 (42.7 MB/s) - `/mnt/myfs/boot/grub/menu.lst' saved [1171/1171]



so it all went through, in the mean time, I'll try rebooting a few times, and seeing if maybe I can get the screen to hang for a minute. if I can't I don't know I only glimpse what is on there. so getting to dawk's boot loader is key then I see


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: imachavel]
    #14966412 - 08/23/11 03:18 PM (12 years, 8 months ago)

ok yes I did get to dawks' bootloader, but it gave me this error while trying to load:

[error 1: file must be either an absolute pathname or block list]

this wasn't at all what you were expecting was it? :lol: I was just thinking about how funny it'd be if it WAS what you were expecting ROFLMAO
anywho, I'm trying to convince myself that I still want windows back. ubuntu has drivers preloaded, and it doesn't break, at least no viruses, no blue screens of death etc. I get windows back, first thing I'll have to fix a shit ton of drivers, then try and crack an activation key, then probably the whole thing will give out on me I'll end up loading it again.

for the sake of all the effort you put into helping me though, I say we see this through to the end. I'd like to see a possible dual boot between linux and windows. seems like windows is the bad kid that can't read or write and won't play nice, while linux is the hardvard graduate, but then windows starts pissing linux off, and linux gets kind of cranky and starts making us figure out quantum physics :lol: make sense at all? I liked the analogy :shrug:



ok so just to make sure we are on the same page, let me repost this part:






ok yes I did get to dawks' bootloader, but it gave me this error while trying to load:

[error 1: file must be either an absolute pathname or blocklist]

that's where I'm at now


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Edited by imachavel (08/24/11 03:24 AM)

Extras: Filter Print Post Top
InvisibleSOLID BASTARD
Hella Vampires


Registered: 08/04/08
Posts: 5,087
Loc: 127.0.0.1
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: imachavel]
    #14972609 - 08/24/11 06:51 PM (12 years, 8 months ago)

I'm pretty sure when dealing with Windows a person has to have the boot flag enabled for the Windows partition instead of the MBR. Windows gets jealous like that sometimes. :2cents:

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: SOLID BASTARD]
    #14972907 - 08/24/11 07:46 PM (12 years, 8 months ago)

Quote:

Cutless said:
I'm pretty sure when dealing with Windows a person has to have the boot flag enabled for the Windows partition instead of the MBR. Windows gets jealous like that sometimes. :2cents:




windows is a jealous motherfucker. linux and mac play along nice, but windows doesn't like either one, that's because bill gates spoiled windows with 60 billion :lol:

anyway, how do I enable the boot flag for windows? omg at this point I just should figure out if I can log into either partition. maybe f8 but that will probably get me into linux safe mode instead of windows safe mode, which is command line based. Oh well :shrug:


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Extras: Filter Print Post Top
InvisibleSOLID BASTARD
Hella Vampires


Registered: 08/04/08
Posts: 5,087
Loc: 127.0.0.1
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: imachavel]
    #14978299 - 08/25/11 06:53 PM (12 years, 8 months ago)

Boot into your Linux distro or a live cd, open GParted, right click on your Windows NTFS partition, choose manage flags, and check boot. Not sure if it'll automatically show up in GRUB on restart, I doubt it though. So you may have to re-add the Windows XP option or just completely reinstall GRUB. https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Extras: Filter Print Post Top
Offlineimachavel
I loved and lost but I loved-ftw
Male User Gallery


Registered: 06/06/07
Posts: 31,564
Loc: You get banned for saying that Flag
Last seen: 12 hours, 17 minutes
Re: linux question, ntfs windows xp doesn't want to be booted in the grub [Re: SOLID BASTARD]
    #14986460 - 08/27/11 11:59 AM (12 years, 8 months ago)

ok awesome. I'm leaving town on a flight in four hours and won't be back for a week. I'm going to leave my horrible dell pc here and come back to it in a week, so I won't try this now, but will def give it a shot in a week. I can use that web site to reinstall grub for both partitions? rewriting the grub script entirely might just be the best option, I'll try the gparted solution though beforehand, but in a week.

if I can't figure it out, I'll get onhand help, we've done just about as much as possible in this thread. so thanks a bunch hope I get it fixed. otherwise thread closed :crazy:


--------------------
:kingcrankey: I did not say to edit my signature soulidarity! Now forever I will never remember what I said about understanding the secrets of the universe by paying attention to subtleties!

:facepalm: I'm never giving you the password again. Jerk

Extras: Filter Print Post Top
Jump to top Pages: < Back | 1 | 2  [ show all ]

Shop: Myyco.com Golden Teacher Liquid Culture For Sale   Unfolding Nature Unfolding Nature: Being in the Implicate Order   Kraken Kratom Red Vein Kratom


Similar ThreadsPosterViewsRepliesLast post
* windows xp llib 1,046 3 09/27/02 08:03 PM
by tps
* For anyone looking to try linux as a desktop OS
( 1 2 all )
windex 5,980 37 02/07/03 12:32 AM
by Malformed
* HELP!!! win XP question Cubieman420 834 6 04/14/03 03:34 PM
by Cubieman420
* linux monoamine 1,969 14 10/19/02 08:55 AM
by BuzzDoctor
* Read this! Massive SECURITY problem with Win XP! Fd3000 1,379 14 10/24/02 05:57 PM
by
* Microsoft Issues Patch for 'Critical' Windows Secu Mojo_Risin 1,151 4 11/21/02 06:44 PM
by Mojo_Risin
* CD drive doesn't work the universe 1,270 8 03/20/03 11:08 AM
by Anno
* Running XP on older machines.. Anonymous 901 8 08/11/03 02:19 PM
by wingnutx

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: trendal, automan, Northerner
4,197 topic views. 0 members, 0 guests and 2 web crawlers are browsing this forum.
[ Show Images Only | Sort by Score | Print Topic ]
Search this thread:

Copyright 1997-2024 Mind Media. Some rights reserved.

Generated in 0.028 seconds spending 0.007 seconds on 14 queries.