- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: is it possible to edit the grub file to bring ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 05:56 AM
тАО10-16-2007 05:56 AM
here is how my grub config looks.
title Red Hat Enterprise Linux AS-smp (2.4.21-40.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-40.ELsmp ro root=/dev/vg00/lvol1 hda=ide-scsi usb-handoff
initrd /initrd-2.4.21-40.ELsmp.img
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 06:59 AM
тАО10-16-2007 06:59 AM
Re: is it possible to edit the grub file to bring up the system in single user mode?
From grub, move your arrow key around to the boot configuration that you want to use single user mode on. Then hit "e", from there you can see all of the lines associated with that boot up option. Then, go to the "kernel" line with the arrow keys and hit "e" - go to the end of the line and add a space, then the word "single", and hit escape (I think), now, from the highlighted line that starts with "kernel" once again with the arrow keys, hit "b" for boot.
Should bring you up in single user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 08:49 AM
тАО10-16-2007 08:49 AM
Re: is it possible to edit the grub file to bring up the system in single user mode?
title Red Hat Enterprise Linux AS-smp (SINGLE) (2.4.21-40.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-40.ELsmp ro root=/dev/vg00/lvol1 hda=ide-scsi usb-handoff single
initrd /initrd-2.4.21-40.ELsmp.img
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-16-2007 09:05 AM
тАО10-16-2007 09:05 AM
Re: is it possible to edit the grub file to bring up the system in single user mode?
Yes, intervene at the boot prompt, select the kernel line, hit e
add single to the end
then hit b to boot
mount /var
mount /usr
Then vi will work normally for editing the grub.conf file.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 04:55 AM
тАО10-17-2007 04:55 AM
Re: is it possible to edit the grub file to bring up the system in single user mode?
Looks like adding single to title is optional
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-17-2007 06:37 AM
тАО10-17-2007 06:37 AM
Solutiontitle Red Hat Enterprise Linux AS-smp (2.4.21-40.ELsmp)
root (hd0,0)
kernel /vmlinuz-2.4.21-40.ELsmp ro root=/dev/vg00/lvol1 hda=ide-scsi usb-handoff
initrd /initrd-2.4.21-40.ELsmp.img
title Red Hat Enterprise Linux AS-smp (Single)
root (hd0,0)
kernel /vmlinuz-2.4.21-40.ELsmp ro root=/dev/vg00/lvol1 hda=ide-scsi usb-handoff single
initrd /initrd-2.4.21-40.ELsmp.img
So, in the boot menu, you will have two choices, one for normal boot and one for single user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2007 04:36 AM
тАО10-18-2007 04:36 AM