Re: making an alternate root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 1)  What is the minimal set of files I need to boot single-user
> off hda6 (with 'root=hda6') from the grub command line?

All you NEED is either 'init' or 'sh' and their dependencies. 'sh' would 
probably be the easiest I believe all it needs are libraries. Or you can 
change this in the init() function of the kernel in main.c. You can load up 
what ever shell or program you would like to run as the first process. 'init' 
is default 'sh' is the backup.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux